<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mscully</id>
	<title>Slicer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mscully"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/wiki/Special:Contributions/Mscully"/>
	<updated>2026-04-29T10:47:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27502</id>
		<title>Documentation/4.1/Modules/TrainModel</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27502"/>
		<updated>2012-06-22T22:23:19Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Expanded use cases.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module is used to train new segmentation models for white matter lesion segmentation.  In order to use this tool your data must include a T1, T2, FLAIR, brain mask, and expert lesion segmentation for each subject.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
*Use Case: Segmenting white matter lesions in a disorder for which there is no current lesion segmentation model&lt;br /&gt;
If a lesion segmentation model already exists for the disorder of interest you most likely do not need to train a new one.  However, if a model does not exist or the existing model(s) give poor performance on your data you can use this module to train a new model, and then use that model to automatically segment white matter lesions.&lt;br /&gt;
&lt;br /&gt;
In order to train a new model you must first have preprocessed data on a number of subjects.  The data required includes T1, T2, FLAIR, brain masks, and lesion masks.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences (i.e all 1mm isotropic), and brain mask creation.  Subjects do not need to be registered to each other.  A model can be created on a single subject, but greater than 6 is recommended and between 10 and 15 is best.  The more subjets included in the model the slower model creation will be and the slower segmentation using that model will be.  However, models using more subjects will almost always be more accurate. When selecting subjects to use for the model try to pick the largest variety that you can.  This means, if appropriate for your dataset, multiple ages, multiple brain sizes, multiple lesion loads, a balance between genders, multiple stages of disease progression, etc.  Then identify the set of images for a single subject that has the cleanest and highest contrast scans and use that subject's scans as the first set of inputs.  They will be used as the reference for intensity standardization.  You will need to use those images as the reference scans when predicting as well.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
A list panels in the interface, their features, what they mean, and how to use them.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input Options'''''&amp;lt;/span&amp;gt;: Input options for lesion training.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Lesion Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputLesionVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of Lesion images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T1 Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT1Volumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of T1 images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T2 Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT2Volumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of T2 images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input FLAIR Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputFLAIRVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of FLAIR images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Mask Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputMaskVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of Brain Mask images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Highest Quality Images Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputIndexOfBestImages&amp;lt;/span&amp;gt;] : The index in the list of images that represents the best T1, T2, and FLAIR images.  These images will be used as the standard that the other images are intensity standardized to.  It defaults to the first image in the list. (This number is 1-indexed) ''Default value: 1''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Advanced Options'''''&amp;lt;/span&amp;gt;: Advanced input parameters&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Percent NonLesion'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputPercentNonLesion&amp;lt;/span&amp;gt;] : What percent of the nonlesion voxels should be used for training.  Higher numbers results in larger model files and potentially slower runtimes.  ''Default value: 5''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Output Options'''''&amp;lt;/span&amp;gt;: Output Options&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Model Filename'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----outputModel&amp;lt;/span&amp;gt;] : Required: Filename to save the generated model to.&lt;br /&gt;
&lt;br /&gt;
|[[Image:TrainModelInterface.png|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/PredictLesions| LesionSegmentation-&amp;gt;PredictLesions]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27501</id>
		<title>Documentation/4.1/Modules/TrainModel</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27501"/>
		<updated>2012-06-22T19:55:27Z</updated>

		<summary type="html">&lt;p&gt;Mscully: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module is used to train new segmentation models for white matter lesion segmentation.  In order to use this tool your data must include a T1, T2, FLAIR, brain mask, and expert lesion segmentation for each subject.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
# Training a new model.&lt;br /&gt;
In order to train a new model you must first have preprocessed data on a number of subjects.  The data required includes T1, T2, FLAIR, brain masks, and lesion masks.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.  Subjects do not need to be registered to each other.  A model can be created on a single subject, but greater than 6 is recommended and between 10 and 15 is best.  The more subjets included in the model the slower model creation will be and the slower segmentation using that model will be.  However, models using more subjects will almost always be more accurate. &lt;br /&gt;
&lt;br /&gt;
Navigate to Modules-&amp;gt;Segmentation-&amp;gt;LesionSegmentation-&amp;gt;TrainModel.  The TrainModel panel looks like:&lt;br /&gt;
(Image of TrainModel panel to go here.)&lt;br /&gt;
&lt;br /&gt;
The required inputs are &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
A list panels in the interface, their features, what they mean, and how to use them.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input Options'''''&amp;lt;/span&amp;gt;: Input options for lesion training.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Lesion Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputLesionVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of Lesion images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T1 Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT1Volumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of T1 images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T2 Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT2Volumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of T2 images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input FLAIR Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputFLAIRVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of FLAIR images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Mask Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputMaskVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of Brain Mask images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Highest Quality Images Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputIndexOfBestImages&amp;lt;/span&amp;gt;] : The index in the list of images that represents the best T1, T2, and FLAIR images.  These images will be used as the standard that the other images are intensity standardized to.  It defaults to the first image in the list. (This number is 1-indexed) ''Default value: 1''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Advanced Options'''''&amp;lt;/span&amp;gt;: Advanced input parameters&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Percent NonLesion'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputPercentNonLesion&amp;lt;/span&amp;gt;] : What percent of the nonlesion voxels should be used for training.  Higher numbers results in larger model files and potentially slower runtimes.  ''Default value: 5''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Output Options'''''&amp;lt;/span&amp;gt;: Output Options&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Model Filename'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----outputModel&amp;lt;/span&amp;gt;] : Required: Filename to save the generated model to.&lt;br /&gt;
&lt;br /&gt;
|[[Image:TrainModelInterface.png|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/PredictLesions| LesionSegmentation-&amp;gt;PredictLesions]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/PredictLesions&amp;diff=27500</id>
		<title>Documentation/4.1/Modules/PredictLesions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/PredictLesions&amp;diff=27500"/>
		<updated>2012-06-22T19:52:54Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added panel information and screenshot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module is used to segment white matter lesions using an existing segmentation model.  In order to use this tool your data must include a T1, T2, FLAIR, and brain mask.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
# Segmenting Lesions based on an existing model.&lt;br /&gt;
In order to perform segmentations you must first have access to an existing model (a model trained on 1.5T lupus data is available [|here]) and the images that were used for intensity standardization when training that model (the images for the lupus model are available [|here].  Performing a segmentation can then be done by loading the T1, T2, FLAIR, and brain mask for the subject you would like to segment, the reference T1, T2, FLAIR, and brain mask for intensity standardization, and the segmentation model.&lt;br /&gt;
(Image of loading data to go here)&lt;br /&gt;
&lt;br /&gt;
Navigate to Modules-&amp;gt;Segmentation-&amp;gt;LesionSegmentation-&amp;gt;PredictLesions, then populate the appropriate parts of the PredictLesions input panel:&lt;br /&gt;
(Image of populated input panel goes here.)&lt;br /&gt;
&lt;br /&gt;
Then create a new volume (and a name, if you like) for the ouput lesion mask and the output probability volume.&lt;br /&gt;
(Image of input panel with new outputs goes here)&lt;br /&gt;
&lt;br /&gt;
Then press &amp;quot;Run&amp;quot; and wait approximately twenty minutes.  The Lesion Probability Volume output will be an image where each voxel contains a value from 0 to 100 representing the percent chance that voxel is a lesion.  The lesion mask contains zeros and ones and is a version of the Lesion Probability Volume thresholded at the inputLesionThreshold value which defaults to 70.&lt;br /&gt;
(Image of Lesion Probability Volume)&lt;br /&gt;
(Image of Lesion Mask)&lt;br /&gt;
&lt;br /&gt;
If you navigate to the Volumes tab and select the Lesion Probability Volume you can then adjust the lower threshold to a value between 1-100.  This effectively trades-off between sensitivity and specificity.&lt;br /&gt;
(Image of adjusting the threshold)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input Parameters'''''&amp;lt;/span&amp;gt;: Input parameters for analysis.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T1 Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT1Volume&amp;lt;/span&amp;gt;] : Required: input T1 image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T2 Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT2Volume&amp;lt;/span&amp;gt;] : Required: input T2 image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input FLAIR Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputFLAIRVolume&amp;lt;/span&amp;gt;] : Required: input FLAIR image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Brain Mask Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputMaskVolume&amp;lt;/span&amp;gt;] : Required: input brain mask image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T1 Reference Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT1RefVolume&amp;lt;/span&amp;gt;] : Required: input T1 image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T2 Reference Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT2RefVolume&amp;lt;/span&amp;gt;] : Required: input T2 image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input FLAIR Reference Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputFLAIRRefVolume&amp;lt;/span&amp;gt;] : Required: input FLAIR image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Brain Mask Reference Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputMaskRefVolume&amp;lt;/span&amp;gt;] : Required: input brain mask image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Lesion Segmentation Model File'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputModel&amp;lt;/span&amp;gt;] : The file containing the lesion segmentation model.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Advanced Options'''''&amp;lt;/span&amp;gt;: Advanced input parameters&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Percent Lesion Threshold'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputLesionThreshold&amp;lt;/span&amp;gt;] : Percent value above which a voxel should be considered lesion.  Increasing this number increases false negatives and decreases false positives. ''Default value: 30''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Output Parameters'''''&amp;lt;/span&amp;gt;: Output parameters.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Lesion Mask Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----outputLesionVolume&amp;lt;/span&amp;gt;] : Required: output lesion mask image&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Lesion Probability Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----outputLesionProbVolume&amp;lt;/span&amp;gt;] : Required: output lesion probability image&lt;br /&gt;
&lt;br /&gt;
|[[Image:PredictModelInterface.png|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/TrainModel| LesionSegmentation-&amp;gt;TrainModel]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:PredictModelInterface.png&amp;diff=27499</id>
		<title>File:PredictModelInterface.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:PredictModelInterface.png&amp;diff=27499"/>
		<updated>2012-06-22T19:52:08Z</updated>

		<summary type="html">&lt;p&gt;Mscully: The interface for the Slicer4.1 LesionSegmentation-&amp;gt;PredictLesions module.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The interface for the Slicer4.1 LesionSegmentation-&amp;gt;PredictLesions module.&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27498</id>
		<title>Documentation/4.1/Modules/TrainModel</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27498"/>
		<updated>2012-06-22T19:45:39Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added panel info and screenshot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module is used to train new segmentation models for white matter lesion segmentation.  In order to use this tool your data must include a T1, T2, FLAIR, brain mask, and expert lesion segmentation for each subject.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
# Training a new model.&lt;br /&gt;
In order to train a new model you must first have preprocessed data on a number of subjects.  The data required includes T1, T2, FLAIR, brain masks, and lesion masks.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.  Subjects do not need to be registered to each other.  A model can be created on a single subject, but greater than 6 is recommended and between 10 and 15 is best.  The more subjets included in the model the slower model creation will be and the slower segmentation using that model will be.  However, models using more subjects will almost always be more accurate. &lt;br /&gt;
&lt;br /&gt;
Navigate to Modules-&amp;gt;Segmentation-&amp;gt;LesionSegmentation-&amp;gt;TrainModel.  The TrainModel panel looks like:&lt;br /&gt;
(Image of TrainModel panel to go here.)&lt;br /&gt;
&lt;br /&gt;
The required inputs are &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
A list panels in the interface, their features, what they mean, and how to use them.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input Options'''''&amp;lt;/span&amp;gt;: Input options for lesion training.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Lesion Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputLesionVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of Lesion images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T1 Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT1Volumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of T1 images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input T2 Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputT2Volumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of T2 images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input FLAIR Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputFLAIRVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of FLAIR images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Mask Volumes'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputMaskVolumes&amp;lt;/span&amp;gt;] : Required: A comma separated list of Brain Mask images&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Highest Quality Images Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputIndexOfBestImages&amp;lt;/span&amp;gt;] : The index in the list of images that represents the best T1, T2, and FLAIR images.  These images will be used as the standard that the other images are intensity standardized to.  It defaults to the first image in the list. (This number is 1-indexed) ''Default value: 1''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Advanced Options'''''&amp;lt;/span&amp;gt;: Advanced input parameters&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Percent NonLesion'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----inputPercentNonLesion&amp;lt;/span&amp;gt;] : What percent of the nonlesion voxels should be used for training.  Higher numbers results in larger model files and potentially slower runtimes.  Default value is 5. ''Default value: 5''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Output Options'''''&amp;lt;/span&amp;gt;: Output Options&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Model Filename'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;----outputModel&amp;lt;/span&amp;gt;] : Required: Filename to save the generated model to.&lt;br /&gt;
&lt;br /&gt;
|[[Image:TrainModelInterface.png|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/PredictLesions| LesionSegmentation-&amp;gt;PredictLesions]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:TrainModelInterface.png&amp;diff=27497</id>
		<title>File:TrainModelInterface.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:TrainModelInterface.png&amp;diff=27497"/>
		<updated>2012-06-22T19:43:48Z</updated>

		<summary type="html">&lt;p&gt;Mscully: The interface panel for the Slicer4.1 LesionSegmentation TrainModel module.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The interface panel for the Slicer4.1 LesionSegmentation TrainModel module.&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Extensions/LesionSegmentation&amp;diff=27472</id>
		<title>Documentation/4.1/Extensions/LesionSegmentation</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Extensions/LesionSegmentation&amp;diff=27472"/>
		<updated>2012-06-21T20:05:24Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Changed to extensions with multiple modules format&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
Author: Mark Scully, (Biomedical Mining)&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
License: [http://www.slicer.org/pages/LicenseText Slicer]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Extension Description}}&lt;br /&gt;
LesionSegmentation is a set of open source modules for white matter lesion segmentation in sMRI.  It supports the creation of segmentation models based on a users data and segmentation of subject's lesions using existing models.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/TrainModel|LesionSegmentation-&amp;gt;TrainModel]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/PredictLesions|LesionSegmentation-&amp;gt;PredictLesions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Use Cases}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Similar Extensions}}&lt;br /&gt;
N/A&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/extension-footer}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/PredictLesions&amp;diff=27471</id>
		<title>Documentation/4.1/Modules/PredictLesions</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/PredictLesions&amp;diff=27471"/>
		<updated>2012-06-21T19:53:58Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module is used to segment white matter lesions using an existing segmentation model.  In order to use this tool your data must include a T1, T2, FLAIR, and brain mask.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
# Segmenting Lesions based on an existing model.&lt;br /&gt;
In order to perform segmentations you must first have access to an existing model (a model trained on 1.5T lupus data is available [|here]) and the images that were used for intensity standardization when training that model (the images for the lupus model are available [|here].  Performing a segmentation can then be done by loading the T1, T2, FLAIR, and brain mask for the subject you would like to segment, the reference T1, T2, FLAIR, and brain mask for intensity standardization, and the segmentation model.&lt;br /&gt;
(Image of loading data to go here)&lt;br /&gt;
&lt;br /&gt;
Navigate to Modules-&amp;gt;Segmentation-&amp;gt;LesionSegmentation-&amp;gt;PredictLesions, then populate the appropriate parts of the PredictLesions input panel:&lt;br /&gt;
(Image of populated input panel goes here.)&lt;br /&gt;
&lt;br /&gt;
Then create a new volume (and a name, if you like) for the ouput lesion mask and the output probability volume.&lt;br /&gt;
(Image of input panel with new outputs goes here)&lt;br /&gt;
&lt;br /&gt;
Then press &amp;quot;Run&amp;quot; and wait approximately twenty minutes.  The Lesion Probability Volume output will be an image where each voxel contains a value from 0 to 100 representing the percent chance that voxel is a lesion.  The lesion mask contains zeros and ones and is a version of the Lesion Probability Volume thresholded at the inputLesionThreshold value which defaults to 70.&lt;br /&gt;
(Image of Lesion Probability Volume)&lt;br /&gt;
(Image of Lesion Mask)&lt;br /&gt;
&lt;br /&gt;
If you navigate to the Volumes tab and select the Lesion Probability Volume you can then adjust the lower threshold to a value between 1-100.  This effectively trades-off between sensitivity and specificity.&lt;br /&gt;
(Image of adjusting the threshold)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/TrainModel| LesionSegmentation-&amp;gt;TrainModel]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27470</id>
		<title>Documentation/4.1/Modules/TrainModel</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Modules/TrainModel&amp;diff=27470"/>
		<updated>2012-06-21T19:53:46Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This module is used to train new segmentation models for white matter lesion segmentation.  In order to use this tool your data must include a T1, T2, FLAIR, brain mask, and expert lesion segmentation for each subject.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
# Training a new model.&lt;br /&gt;
In order to train a new model you must first have preprocessed data on a number of subjects.  The data required includes T1, T2, FLAIR, brain masks, and lesion masks.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.  Subjects do not need to be registered to each other.  A model can be created on a single subject, but greater than 6 is recommended and between 10 and 15 is best.  The more subjets included in the model the slower model creation will be and the slower segmentation using that model will be.  However, models using more subjects will almost always be more accurate. &lt;br /&gt;
&lt;br /&gt;
Navigate to Modules-&amp;gt;Segmentation-&amp;gt;LesionSegmentation-&amp;gt;TrainModel.  The TrainModel panel looks like:&lt;br /&gt;
(Image of TrainModel panel to go here.)&lt;br /&gt;
&lt;br /&gt;
The required inputs are &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/PredictLesions| LesionSegmentation-&amp;gt;PredictLesions]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/HowTo&amp;diff=27469</id>
		<title>Documentation/4.1/HowTo</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/HowTo&amp;diff=27469"/>
		<updated>2012-06-21T19:30:41Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Miscellaneous */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Infobox&lt;br /&gt;
|name         = 3D Slicer {{documentation/version}}&lt;br /&gt;
|above        = 3D Slicer&lt;br /&gt;
|abovestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = [[File:3DSlicer41Logo-H-218X144.png|218px|alt=3D Slicer {{documentation/version}}]]&lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|headerstyle  = background:#E7DCC3;&lt;br /&gt;
|labelstyle   = &lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 = Description&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   =&lt;br /&gt;
|header2 =&lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = Research platform for the analysis and visualization of medical images, including image guided therapy.&lt;br /&gt;
|header3 =&lt;br /&gt;
|label3  = &lt;br /&gt;
|data3   = Free and extensible open source package.&lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = Multi-platform&lt;br /&gt;
|data4   = Linux, MacOSX, Windows&lt;br /&gt;
|header5 =&lt;br /&gt;
|label5  = Version&lt;br /&gt;
|data5   = {{documentation/version}}&lt;br /&gt;
|header6 =&lt;br /&gt;
|label6  = License&lt;br /&gt;
|data6   = [http://www.slicer.org/pages/LicenseText Contribution and Software License Agreement]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
This document aims at describing the principle and guidelines to consider when writing Slicer user documentation.&lt;br /&gt;
&lt;br /&gt;
The documentation framework has been designed keeping in mind the following principles:&lt;br /&gt;
* Single location for editing documentation (either the wiki or the source code), no duplicative editing.&lt;br /&gt;
* Smart use of mediawiki templates to enforce consistency and reduce maintenance work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
= Naming conventions =&lt;br /&gt;
# The application '''Slicer''' should be referenced with an uppercase '''S'''.&lt;br /&gt;
# All documentation should be added as subpages under '''Documentation/X.Y/''' where '''X''' and '''Y''' are respectively the '''major''' and '''minor''' Slicer version.&lt;br /&gt;
# Version of Slicer should NOT be written in plain text, {{[[Template:Documentation/version|documentation/version]]}} template should be used instead.&lt;br /&gt;
# [[Documentation/{{documentation/version}}/SlicerApplication]] should be the root of all subpages specific to Slicer application.&lt;br /&gt;
# [[Documentation/{{documentation/version}}/Modules]] should be the root of all subpages specific to Slicer modules.&lt;br /&gt;
# Module subpage should be named after the '''module name''' used in the associated source repository. Assuming the module is named '''Foo''', the corresponding subpage is expected to be '''Documentation/{{documentation/version}}/Modules/Foo'''&lt;br /&gt;
# Collaborator names, logos or URLs should be referenced using the convenient [[Template:Collaborator|Collaborator]] template.&lt;br /&gt;
## For example: &amp;lt;nowiki&amp;gt;''{{collaborator|longname|namic}}''&amp;lt;/nowiki&amp;gt; generates ''{{collaborator|longname|namic}}''&lt;br /&gt;
# Email addresses must be wrapped with the '''&amp;lt;nowiki&amp;gt;&amp;lt;email&amp;gt;&amp;lt;/email&amp;gt;&amp;lt;/nowiki&amp;gt;''' tags&lt;br /&gt;
&lt;br /&gt;
= Category =&lt;br /&gt;
# All subpages should be categorized. See [https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Help:Categories#Adding_a_page_to_a_category]&lt;br /&gt;
# The user documentation pages are grouped in the [[:Category:Documentation/{{documentation/version}}/SlicerApplication|Slicer Application]] and [[:Category:Documentation/{{documentation/version}}/Modules|Modules]] categories.&lt;br /&gt;
&lt;br /&gt;
= SlicerApplication page =&lt;br /&gt;
# [[Template:Documentation/{{documentation/version}}/slicerapplication-header|slicerapplication-header]] and [[Template:Documentation/{{documentation/version}}/slicerapplication-footer|slicerapplication-footer]] templates should be respectively used at the top and the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
= Module page =&lt;br /&gt;
# [[Template:Documentation/{{documentation/version}}/module-header|module-header]] and [[Template:Documentation/{{documentation/version}}/module-footer|module-footer]] templates should be respectively used at the top and the bottom of the page.&lt;br /&gt;
# [[Template:Documentation/modulename|modulename]] should be used instead of writing in plain text the name of the module.&lt;br /&gt;
# Base your work on either [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME]] or an [[:Category:Documentation/{{documentation/version}}/Modules|existing module]] documentation.&lt;br /&gt;
# For CLI modules, the '''SVNREVISION''' revision number is reported on this [http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Applications/CLI page]. The module description and the information for developers would be automatically extracted from the corresponding XML description. &lt;br /&gt;
# See [[Documentation/{{documentation/version}}/ModulesMetadata|this page]] to define the revision number. The revision number associated to a module is used to extract module information from the source code directly.&lt;br /&gt;
&lt;br /&gt;
== Documentation for a CLI module ==&lt;br /&gt;
The main idea is to re-use the documentation of the CLI parameters in the wiki. When a CLI is added into Slicer, please execute the following steps to create the module online documentation.&lt;br /&gt;
# Create a CLI in Slicer4/Modules/CLI&lt;br /&gt;
# Add your module in [[Documentation/{{documentation/version}}/ModulesMetadata]]. Adding a module consists of adding a module name+revision pair alphabetically in the list. The revision number must correspond to the most up to date revision number of your module.&lt;br /&gt;
# Copy the content of the [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME|template]] module and paste it in a page you created with the name of your module: [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME]].&lt;br /&gt;
# Edit the wiki code to replace the generic information with the module specific information. You can upload screenshots and tutorials.&lt;br /&gt;
&lt;br /&gt;
== Documentation for a loadable module ==&lt;br /&gt;
Creating online documentation for loadable modules is similar to CLI modules. The difference is that loadable modules don't have parameter descriptions, it must be added separately.&lt;br /&gt;
# In Slicer4, if it doesn't exist yet&lt;br /&gt;
## create a ''Documentation'' subdirectory in your module directory (e.g. ''Slicer4/Modules/Loadable/Transforms/Documentation'').&lt;br /&gt;
## Copy and rename the ''YourModuleName.{xml,dox}'' files from an existing module documentation.&lt;br /&gt;
# Add description for each [[Documentation/{{documentation/version}}/Developers/Style_Guide/UI#Section|section]] of your module (''YourModuleName.xml'') applying the following pattern:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;parameters&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Section1 header&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;parameter&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;Parameter1 name&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;&amp;lt;![CDATA[Parameter1 description]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;/parameter&amp;gt;&lt;br /&gt;
  &amp;lt;/parameters&amp;gt;&lt;br /&gt;
  &amp;lt;parameters&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Section2 header&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;parameter&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;Parameter2 name&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;&amp;lt;![CDATA[Parameter2 description]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;/parameter&amp;gt;&lt;br /&gt;
    &amp;lt;parameter&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;Parameter3 name&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;&amp;lt;![CDATA[Parameter3 description]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;/parameter&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Documentation for a scripted module ==&lt;br /&gt;
The trick used in loadable module documentation is not supported yet for scripted modules. Documentation must be written directly in the created module wiki page.&lt;br /&gt;
&lt;br /&gt;
= Extension page =&lt;br /&gt;
# Create a [[#Module_page|regular wiki page]] for each module of the extension using the [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME|template]] page. The URLs of the extension modules are the same than the built-in modules.&lt;br /&gt;
# Create an extension page&lt;br /&gt;
## [[Template:Documentation/{{documentation/version}}/extension-footer|extension-footer]] template should be at the bottom of the page.&lt;br /&gt;
## If the extension bundles exactly [[Documentation/{{documentation/version}}/Developers/Tutorials/BundleModulesIntoExtension#Extension_bundles_1_module|one]] module, use [{{fullurl:Documentation/{{documentation/version}}/Extensions/SkullStripper|redirect=no}} this template]&lt;br /&gt;
## If the extension bundles [[Documentation/{{documentation/version}}/Developers/Tutorials/BundleModulesIntoExtension#Extension_bundles_N_modules|more]] than one module, use [[Documentation/{{documentation/version}}/Extensions/Plastimatch|this template]].&lt;br /&gt;
# Add an extension entry in [[Documentation/{{documentation/version}}/Extensions#Extension_Categories]]&lt;br /&gt;
# The extension should now be listed on [[Documentation/{{documentation/version}}]].&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous =&lt;br /&gt;
* High resolution logos are in the [[Logo_Gallery|Logo Gallery]]&lt;br /&gt;
* There is a python helper script for SEM compliant tools that can save a significant amount of transcription time:  Slicer/Utilities/Scripts/SEMToMediaWiki.py &lt;br /&gt;
**To use it run &amp;quot;python Slicer/Utilities/Scripts/SEMToMediaWiki.py -x XMLFILE.xml -o OUTPUT.txt&amp;quot; and the mediawiki content will be in OUTPUT.txt&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/HowTo&amp;diff=27468</id>
		<title>Documentation/4.1/HowTo</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/HowTo&amp;diff=27468"/>
		<updated>2012-06-21T19:19:21Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Miscellaneous */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Infobox&lt;br /&gt;
|name         = 3D Slicer {{documentation/version}}&lt;br /&gt;
|above        = 3D Slicer&lt;br /&gt;
|abovestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = [[File:3DSlicer41Logo-H-218X144.png|218px|alt=3D Slicer {{documentation/version}}]]&lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|headerstyle  = background:#E7DCC3;&lt;br /&gt;
|labelstyle   = &lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 = Description&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   =&lt;br /&gt;
|header2 =&lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = Research platform for the analysis and visualization of medical images, including image guided therapy.&lt;br /&gt;
|header3 =&lt;br /&gt;
|label3  = &lt;br /&gt;
|data3   = Free and extensible open source package.&lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = Multi-platform&lt;br /&gt;
|data4   = Linux, MacOSX, Windows&lt;br /&gt;
|header5 =&lt;br /&gt;
|label5  = Version&lt;br /&gt;
|data5   = {{documentation/version}}&lt;br /&gt;
|header6 =&lt;br /&gt;
|label6  = License&lt;br /&gt;
|data6   = [http://www.slicer.org/pages/LicenseText Contribution and Software License Agreement]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
This document aims at describing the principle and guidelines to consider when writing Slicer user documentation.&lt;br /&gt;
&lt;br /&gt;
The documentation framework has been designed keeping in mind the following principles:&lt;br /&gt;
* Single location for editing documentation (either the wiki or the source code), no duplicative editing.&lt;br /&gt;
* Smart use of mediawiki templates to enforce consistency and reduce maintenance work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
= Naming conventions =&lt;br /&gt;
# The application '''Slicer''' should be referenced with an uppercase '''S'''.&lt;br /&gt;
# All documentation should be added as subpages under '''Documentation/X.Y/''' where '''X''' and '''Y''' are respectively the '''major''' and '''minor''' Slicer version.&lt;br /&gt;
# Version of Slicer should NOT be written in plain text, {{[[Template:Documentation/version|documentation/version]]}} template should be used instead.&lt;br /&gt;
# [[Documentation/{{documentation/version}}/SlicerApplication]] should be the root of all subpages specific to Slicer application.&lt;br /&gt;
# [[Documentation/{{documentation/version}}/Modules]] should be the root of all subpages specific to Slicer modules.&lt;br /&gt;
# Module subpage should be named after the '''module name''' used in the associated source repository. Assuming the module is named '''Foo''', the corresponding subpage is expected to be '''Documentation/{{documentation/version}}/Modules/Foo'''&lt;br /&gt;
# Collaborator names, logos or URLs should be referenced using the convenient [[Template:Collaborator|Collaborator]] template.&lt;br /&gt;
## For example: &amp;lt;nowiki&amp;gt;''{{collaborator|longname|namic}}''&amp;lt;/nowiki&amp;gt; generates ''{{collaborator|longname|namic}}''&lt;br /&gt;
# Email addresses must be wrapped with the '''&amp;lt;nowiki&amp;gt;&amp;lt;email&amp;gt;&amp;lt;/email&amp;gt;&amp;lt;/nowiki&amp;gt;''' tags&lt;br /&gt;
&lt;br /&gt;
= Category =&lt;br /&gt;
# All subpages should be categorized. See [https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Help:Categories#Adding_a_page_to_a_category]&lt;br /&gt;
# The user documentation pages are grouped in the [[:Category:Documentation/{{documentation/version}}/SlicerApplication|Slicer Application]] and [[:Category:Documentation/{{documentation/version}}/Modules|Modules]] categories.&lt;br /&gt;
&lt;br /&gt;
= SlicerApplication page =&lt;br /&gt;
# [[Template:Documentation/{{documentation/version}}/slicerapplication-header|slicerapplication-header]] and [[Template:Documentation/{{documentation/version}}/slicerapplication-footer|slicerapplication-footer]] templates should be respectively used at the top and the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
= Module page =&lt;br /&gt;
# [[Template:Documentation/{{documentation/version}}/module-header|module-header]] and [[Template:Documentation/{{documentation/version}}/module-footer|module-footer]] templates should be respectively used at the top and the bottom of the page.&lt;br /&gt;
# [[Template:Documentation/modulename|modulename]] should be used instead of writing in plain text the name of the module.&lt;br /&gt;
# Base your work on either [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME]] or an [[:Category:Documentation/{{documentation/version}}/Modules|existing module]] documentation.&lt;br /&gt;
# For CLI modules, the '''SVNREVISION''' revision number is reported on this [http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Applications/CLI page]. The module description and the information for developers would be automatically extracted from the corresponding XML description. &lt;br /&gt;
# See [[Documentation/{{documentation/version}}/ModulesMetadata|this page]] to define the revision number. The revision number associated to a module is used to extract module information from the source code directly.&lt;br /&gt;
&lt;br /&gt;
== Documentation for a CLI module ==&lt;br /&gt;
The main idea is to re-use the documentation of the CLI parameters in the wiki. When a CLI is added into Slicer, please execute the following steps to create the module online documentation.&lt;br /&gt;
# Create a CLI in Slicer4/Modules/CLI&lt;br /&gt;
# Add your module in [[Documentation/{{documentation/version}}/ModulesMetadata]]. Adding a module consists of adding a module name+revision pair alphabetically in the list. The revision number must correspond to the most up to date revision number of your module.&lt;br /&gt;
# Copy the content of the [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME|template]] module and paste it in a page you created with the name of your module: [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME]].&lt;br /&gt;
# Edit the wiki code to replace the generic information with the module specific information. You can upload screenshots and tutorials.&lt;br /&gt;
&lt;br /&gt;
== Documentation for a loadable module ==&lt;br /&gt;
Creating online documentation for loadable modules is similar to CLI modules. The difference is that loadable modules don't have parameter descriptions, it must be added separately.&lt;br /&gt;
# In Slicer4, if it doesn't exist yet&lt;br /&gt;
## create a ''Documentation'' subdirectory in your module directory (e.g. ''Slicer4/Modules/Loadable/Transforms/Documentation'').&lt;br /&gt;
## Copy and rename the ''YourModuleName.{xml,dox}'' files from an existing module documentation.&lt;br /&gt;
# Add description for each [[Documentation/{{documentation/version}}/Developers/Style_Guide/UI#Section|section]] of your module (''YourModuleName.xml'') applying the following pattern:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;parameters&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Section1 header&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;parameter&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;Parameter1 name&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;&amp;lt;![CDATA[Parameter1 description]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;/parameter&amp;gt;&lt;br /&gt;
  &amp;lt;/parameters&amp;gt;&lt;br /&gt;
  &amp;lt;parameters&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Section2 header&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;parameter&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;Parameter2 name&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;&amp;lt;![CDATA[Parameter2 description]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;/parameter&amp;gt;&lt;br /&gt;
    &amp;lt;parameter&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;Parameter3 name&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;&amp;lt;![CDATA[Parameter3 description]]&amp;gt;&amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;/parameter&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Documentation for a scripted module ==&lt;br /&gt;
The trick used in loadable module documentation is not supported yet for scripted modules. Documentation must be written directly in the created module wiki page.&lt;br /&gt;
&lt;br /&gt;
= Extension page =&lt;br /&gt;
# Create a [[#Module_page|regular wiki page]] for each module of the extension using the [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME|template]] page. The URLs of the extension modules are the same than the built-in modules.&lt;br /&gt;
# Create an extension page&lt;br /&gt;
## [[Template:Documentation/{{documentation/version}}/extension-footer|extension-footer]] template should be at the bottom of the page.&lt;br /&gt;
## If the extension bundles exactly [[Documentation/{{documentation/version}}/Developers/Tutorials/BundleModulesIntoExtension#Extension_bundles_1_module|one]] module, use [{{fullurl:Documentation/{{documentation/version}}/Extensions/SkullStripper|redirect=no}} this template]&lt;br /&gt;
## If the extension bundles [[Documentation/{{documentation/version}}/Developers/Tutorials/BundleModulesIntoExtension#Extension_bundles_N_modules|more]] than one module, use [[Documentation/{{documentation/version}}/Extensions/Plastimatch|this template]].&lt;br /&gt;
# Add an extension entry in [[Documentation/{{documentation/version}}/Extensions#Extension_Categories]]&lt;br /&gt;
# The extension should now be listed on [[Documentation/{{documentation/version}}]].&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous =&lt;br /&gt;
* High resolution logos are in the [[Logo_Gallery|Logo Gallery]]&lt;br /&gt;
* There is a python helper script for SEM compliant tools that can save a significant amount of transcription time:  Slicer/Utilities/Scripts/SEMToMediaWiki.py&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.1/Extensions/LesionSegmentation&amp;diff=27467</id>
		<title>Documentation/4.1/Extensions/LesionSegmentation</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.1/Extensions/LesionSegmentation&amp;diff=27467"/>
		<updated>2012-06-21T18:28:47Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
Extension: [[Documentation/{{documentation/version}}/Extensions/LesionSegmentation|LesionSegmentation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Acknowledgments:&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Mark Scully ({{collaborator|name|Biomedical Mining}})&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Mark Scully, &amp;lt;email&amp;gt;mark@biomedicalmining.com&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|{{collaborator|logo|namic}}|{{collaborator|longname|namic}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
This extension contains multiple CLI modules for segmenting white matter lesions in sMRI data.  In order to use these tools your data must include a T1, T2, FLAIR, and brain mask for each subject.  All data must be preprocessed including intra-subject co-registration, AC-PC alignment, bias correction, consistent spacing between sequences, and brain mask creation.  If you are training a new model then expert lesion segmentations (co-registered to the anatomical scans for the relevant subject) are also required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
# Training a new model.&lt;br /&gt;
&lt;br /&gt;
# Segmenting Lesions based on an existing model.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Coming soon!&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer}}&lt;br /&gt;
[[Category:Documentation/{{documentation/version}}/Modules/Segmentation]]&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23110</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23110"/>
		<updated>2011-11-22T21:11:53Z</updated>

		<summary type="html">&lt;p&gt;Mscully: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Kent Williams, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: Vincent Magnotta, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor3: Andriy Fedorov, BWH&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 1: Same Subject: Longitudinal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 2: Same Subject: MultiModal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same session.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 3: Mouse Registration'''''&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available on [http://midas.kitware.com/item/view/483 Midas]. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHeadAlign. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23109</id>
		<title>Documentation/4.0/Modules/ForegroundMasking</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23109"/>
		<updated>2011-11-22T21:11:06Z</updated>

		<summary type="html">&lt;p&gt;Mscully: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1: Creating a rough brain mask.&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23075</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23075"/>
		<updated>2011-11-21T21:57:53Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added use case types.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Vincent Magnotta, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1: Change an image's resolution and spacing.&lt;br /&gt;
* Use Case 2: Apply a transformation to an image (using an ITK transform IO mechanisms)&lt;br /&gt;
* Use Case 3: Warping an image (using a vector image deformation field).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23073</id>
		<title>Documentation/4.0/Modules/BRAINSDemonWarp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23073"/>
		<updated>2011-11-21T21:32:36Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added use cases from 3.6 documentation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
&lt;br /&gt;
The inputs to the BrainDemonsWarp program are the target image, the template image and the optional parameters. These parameters define the arguments for histogram matching and multi resolution registration. The outputs are the deformation field, output image, checkerboard image of the output and the fixed image and the x,y,z displacement vectors. If we specify debug option we can get the outputs at different stages. The filter is templated over the input image type, real image type and the output image types. We implement the algorithm by parsing the input, preprocessing them and registering the processed images.&lt;br /&gt;
&lt;br /&gt;
* Use Case 1: Parsing - The images are initialized by the ValidationInputParser. This function reads in the arguments from the parameter file. It sets the histogram bins, match points, number of levels in the multi resolution registration, shrink factors and number of iterations at each levels. If the orientations of the images are different it sets the orientation of the moving image to that of the fixed image.&lt;br /&gt;
* Use Case 2: PreProcessing - In the next step the DemonsPreProcessor preprocesses the images by resampling the template image to target image space. The intensity mismatch problem is solved by histogram matching the images. Histogram matching is done only if the command line option -e is set. ItkHistogramMatchingImageFilter is used to perform this function. Another important step in preprocessing is skull stripping. Skull stripping is done only if the command line option -maskProcessingMode is set to BOBF. We have written an itk filter, named itkBOBFFilter for this purpose. This filter takes in an input image and a whole brain mask and outputs a Brain Only Background Filled(BOBF) image. The non-brain parts in the image are filled with the user specified background value. All computations are performed in the precision of ﬂoat data. &lt;br /&gt;
* Use Case 3: Registration - The resulting moving Image and the fixed image are given as inputs to the demons registrator.It uses the MultiResolutionPDEDeformableRegistration filter with NN extrapolation as interpolator and implements the demons deformable algorithm by computing the deformation field which will map a moving image onto a fixed image. It is assumed that the vector elements behave like ﬂoating point scalars. Each vector in the deformation field represent the distance between a geometric point in the input space and a point in the output space. The output image is generated by warping the input image with the deformation field using the ItkWarpImageFilter. WarpImageFilter warps an existing image with respect to a given deformation field. Typically the mapped position does not correspond to an integer pixel position in the input image. Interpolation via an image function is used to compute values at non-integer positions. We have used the LinearInterpolateImageFunction for our application. To write the output image we cast the image to the user specified output pixel type.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=  &lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23072</id>
		<title>Documentation/4.0/Modules/ForegroundMasking</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23072"/>
		<updated>2011-11-21T21:25:36Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Removed example panels.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23071</id>
		<title>Documentation/4.0/Modules/BRAINSDemonWarp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23071"/>
		<updated>2011-11-21T21:24:51Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Removed example panels.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=  &lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23070</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23070"/>
		<updated>2011-11-21T21:24:15Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Removed example panels.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Vincent Magnotta, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23069</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23069"/>
		<updated>2011-11-21T21:23:49Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Removed example panels.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Kent Williams, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: Vincent Magnotta, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor3: Andriy Fedorov, BWH&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is especially appropriate for these use cases:&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 1: Same Subject: Longitudinal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 2: Same Subject: MultiModal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same session.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 3: Mouse Registration'''''&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available on [http://midas.kitware.com/item/view/483 Midas]. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHeadAlign. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23068</id>
		<title>Documentation/4.0/Modules/BRAINSDemonWarp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23068"/>
		<updated>2011-11-21T21:20:22Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Removed blank contributors.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=  &lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23067</id>
		<title>Documentation/4.0/Modules/ForegroundMasking</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23067"/>
		<updated>2011-11-21T21:19:57Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Removed blank contributors.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23066</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23066"/>
		<updated>2011-11-21T21:17:46Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added contributors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Vincent Magnotta, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23065</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23065"/>
		<updated>2011-11-21T21:16:29Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added contributors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: Kent Williams, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: Vincent Magnotta, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor3: Andriy Fedorov, BWH&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is especially appropriate for these use cases:&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 1: Same Subject: Longitudinal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 2: Same Subject: MultiModal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same session.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 3: Mouse Registration'''''&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available on [http://midas.kitware.com/item/view/483 Midas]. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHeadAlign. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23064</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23064"/>
		<updated>2011-11-21T21:09:21Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Use Cases, Examples */ Changed data source to Midas&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is especially appropriate for these use cases:&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 1: Same Subject: Longitudinal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 2: Same Subject: MultiModal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same session.  The two images are again available on [http://midas.kitware.com/item/view/483 Midas] as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 3: Mouse Registration'''''&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available on [http://midas.kitware.com/item/view/483 Midas]. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHeadAlign. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23058</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23058"/>
		<updated>2011-11-21T20:45:57Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added use cases from 3.6 documentation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is especially appropriate for these use cases:&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 1: Same Subject: Longitudinal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 2: Same Subject: MultiModal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same sesson.  The two images are again available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHeadAlign, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHeadAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 3: Mouse Registration'''''&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHeadAlign. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23053</id>
		<title>Documentation/4.0/Modules/ForegroundMasking</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23053"/>
		<updated>2011-11-21T18:13:59Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added parameters description xml line.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23052</id>
		<title>Documentation/4.0/Modules/BRAINSDemonWarp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23052"/>
		<updated>2011-11-21T18:12:40Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added parameters description xml line.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=  &lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23051</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23051"/>
		<updated>2011-11-21T18:11:24Z</updated>

		<summary type="html">&lt;p&gt;Mscully: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23050</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23050"/>
		<updated>2011-11-21T18:10:20Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added parameters description xml line.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-parametersdescription|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23049</id>
		<title>Documentation/4.0/Modules/ForegroundMasking</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23049"/>
		<updated>2011-11-21T17:34:16Z</updated>

		<summary type="html">&lt;p&gt;Mscully: xml urls now point to github&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{&lt;br /&gt;
  documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSROIAuto/BRAINSROIAuto.xml &lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23048</id>
		<title>Documentation/4.0/Modules/BRAINSDemonWarp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23048"/>
		<updated>2011-11-21T17:25:28Z</updated>

		<summary type="html">&lt;p&gt;Mscully: xml urls point to github&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=  &lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23047</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23047"/>
		<updated>2011-11-21T17:22:10Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Changed github urls to point to master.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=Interactive|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23046</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23046"/>
		<updated>2011-11-21T17:19:03Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Updated other urls to BRAINSFit.xml so they point to github.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23045</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23045"/>
		<updated>2011-11-21T17:14:01Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Templates now point to BRAINSResample.xml in github.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/175827a1ac1b15b6e9d09c852b6ca004a371a7c7/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|BRAINSResample|type=Interactive|category={{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/175827a1ac1b15b6e9d09c852b6ca004a371a7c7/BRAINSResample/BRAINSResample.xml }}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category={{documentation/{{documentation/version}}/module-category|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/175827a1ac1b15b6e9d09c852b6ca004a371a7c7/BRAINSResample/BRAINSResample.xml }}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23044</id>
		<title>Documentation/4.0/Modules/BRAINSDemonWarp</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSDemonWarp&amp;diff=23044"/>
		<updated>2011-11-21T16:55:33Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Updated module description url to point to BRAINSDemonWarp.xml in github.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSDemonWarp/BRAINSDemonWarp.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|ModuleTemplate|type=Interactive|category=Example}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- THE FOLLOWING SHOULD BE REMOVED FOR YOUR OWN MODULE DOCUMENTATION --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
{{note}}The section above is generated using the following wiki code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|ModuleTemplate|type=Interactive|category=Example}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are documenting a CLI, the category should be extracted from the corresponding XML description. This could be done automatically using the following wiki template:&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-category|xmlurl=http://path/to/YOURMODULENAME.xml }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your module is available in Slicer repository, the following template could be useful to obtain the corresponding URL:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this later template, the final syntax would be:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-category|xmlurl={{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}} }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=Example}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23043</id>
		<title>Documentation/4.0/Modules/BRAINSResample</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSResample&amp;diff=23043"/>
		<updated>2011-11-21T16:53:25Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Updated module description url to point to BRANSResample.xml in github.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/175827a1ac1b15b6e9d09c852b6ca004a371a7c7/BRAINSResample/BRAINSResample.xml }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|ModuleTemplate|type=Interactive|category=Example}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- THE FOLLOWING SHOULD BE REMOVED FOR YOUR OWN MODULE DOCUMENTATION --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
{{note}}The section above is generated using the following wiki code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|ModuleTemplate|type=Interactive|category=Example}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are documenting a CLI, the category should be extracted from the corresponding XML description. This could be done automatically using the following wiki template:&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-category|xmlurl=http://path/to/YOURMODULENAME.xml }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your module is available in Slicer repository, the following template could be useful to obtain the corresponding URL:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this later template, the final syntax would be:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-category|xmlurl={{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}} }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=Example}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23042</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23042"/>
		<updated>2011-11-21T16:51:51Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Updated module description url to point to BRANSFit.xml in github.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl=https://raw.github.com/BRAINSia/BRAINSStandAlone/master/BRAINSFit/BRAINSFit.xml }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=&lt;br /&gt;
    {{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=&lt;br /&gt;
    {{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Template:Documentation/4.0/module-developerinfo&amp;diff=23035</id>
		<title>Template:Documentation/4.0/module-developerinfo</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Template:Documentation/4.0/module-developerinfo&amp;diff=23035"/>
		<updated>2011-11-21T16:12:11Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Undo revision 23034 by Mscully (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;Type: {{{type}}}&lt;br /&gt;
&lt;br /&gt;
Category: {{{category}}}&lt;br /&gt;
&lt;br /&gt;
==Notes from the Developer(s)==&lt;br /&gt;
&lt;br /&gt;
Developer notes for {{{1}}} will be automatically listed.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Dependencies of {{{1}}} will be automatically listed.&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Known bugs of {{{1}}} will be automatically listed.&lt;br /&gt;
&lt;br /&gt;
==Tests==&lt;br /&gt;
&lt;br /&gt;
On the [http://cdash.org/slicer4 Slicer4 Dashboard], these tests verify that the module is working on various platforms:&lt;br /&gt;
&lt;br /&gt;
* [http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Applications/CLI/{{{1}}}/Testing/ Test source code directory for {{{1}}}]&lt;br /&gt;
&lt;br /&gt;
==Source code &amp;amp; documentation==&lt;br /&gt;
&lt;br /&gt;
Doxygen documentation and source files of {{{1}}} will be automatically listed.&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-developerinfo|GradientAnisotropicDiffusion|type=CLI|category=Filtering}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|GradientAnisotropicDiffusion|type=CLI|category=Filtering}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Templates:Documentation/{{documentation/version}}|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Template:Documentation/4.0/module-developerinfo&amp;diff=23034</id>
		<title>Template:Documentation/4.0/module-developerinfo</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Template:Documentation/4.0/module-developerinfo&amp;diff=23034"/>
		<updated>2011-11-21T16:03:20Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Tests */ Test source points to TestSuite in github&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;Type: {{{type}}}&lt;br /&gt;
&lt;br /&gt;
Category: {{{category}}}&lt;br /&gt;
&lt;br /&gt;
==Notes from the Developer(s)==&lt;br /&gt;
&lt;br /&gt;
Developer notes for {{{1}}} will be automatically listed.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Dependencies of {{{1}}} will be automatically listed.&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Known bugs of {{{1}}} will be automatically listed.&lt;br /&gt;
&lt;br /&gt;
==Tests==&lt;br /&gt;
&lt;br /&gt;
On the [http://cdash.org/slicer4 Slicer4 Dashboard], these tests verify that the module is working on various platforms:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit/TestSuite Test source code directory for BRAINSFit]&lt;br /&gt;
&lt;br /&gt;
==Source code &amp;amp; documentation==&lt;br /&gt;
&lt;br /&gt;
Doxygen documentation and source files of {{{1}}} will be automatically listed.&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-developerinfo|GradientAnisotropicDiffusion|type=CLI|category=Filtering}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|GradientAnisotropicDiffusion|type=CLI|category=Filtering}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Templates:Documentation/{{documentation/version}}|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23029</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23029"/>
		<updated>2011-11-21T15:57:58Z</updated>

		<summary type="html">&lt;p&gt;Mscully: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl={{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}} }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
* Source repository on [https://github.com/BRAINSia/BRAINSStandAlone/tree/master/BRAINSFit github]&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=&lt;br /&gt;
    {{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=&lt;br /&gt;
    {{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23021</id>
		<title>Documentation/4.0/Modules/BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/BRAINSFit&amp;diff=23021"/>
		<updated>2011-11-21T15:33:52Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Added reference to paper.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
&lt;br /&gt;
{{documentation/{{documentation/version}}/module-description|xmlurl={{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}} }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|{{documentation/modulename}}|type=CLI|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=&lt;br /&gt;
    {{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=&lt;br /&gt;
  {{documentation/{{documentation/version}}/module-category|xmlurl=&lt;br /&gt;
    {{documentation/{{documentation/version}}/module-qtscriptedloadable-xmlurl|{{documentation/modulename}}|18275}}&lt;br /&gt;
  }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0&amp;diff=23003</id>
		<title>Documentation/4.0</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0&amp;diff=23003"/>
		<updated>2011-11-21T15:18:58Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Segmentation */ Added link for Foreground Masking.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Create a template that will list all documentation links --&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;versionlist&amp;quot;&amp;gt;[[Documentation/4.0|4.0]] [[Documentation/3.6|3.6]] [[Documentation/3.5|3.5]] [[Documentation/3.4|3.4]] [[Documentation/3.2|3.2]] [[Documentation|ALL VERSIONS]]&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Table of Content=&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;100%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
===Slicer Application===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;big&amp;gt;'''&lt;br /&gt;
*[[Documentation/{{documentation/version}}/SlicerApplication/MainApplicationGUI| Main Application GUI]] (Wendy Plesniak)&lt;br /&gt;
&lt;br /&gt;
*[[Documentation/{{documentation/version}}/SlicerApplication/KeyboardShortcuts | &amp;quot;Hot-keys&amp;quot; and Keyboard Shortcuts]] (Wendy Plesniak)&lt;br /&gt;
&lt;br /&gt;
*[[Documentation/{{documentation/version}}/SlicerApplication/HardwareConfiguration | Computer configurations]] (Steve Pieper)&lt;br /&gt;
&lt;br /&gt;
*[[Documentation/{{documentation/version}}/SlicerApplication/LoadingData | Loading]] or [[Documentation/{{documentation/version}}/SlicerApplication/SavingData | Saving]] data and listing of [[Documentation/{{documentation/version}}/SlicerApplication/SupportedDataFormat | supported data formats]]. (Julien Finet)&lt;br /&gt;
&amp;lt;!-- : scenes, DICOM, volumes, models, fiducials, transforms, etc. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*[[Documentation/{{documentation/version}}/SlicerApplication/StereoViewing | Setting up and using stereoscopic viewing]] (Curtis Lisle)''' &lt;br /&gt;
&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mailing Lists===&lt;br /&gt;
----&lt;br /&gt;
* [http://massmail.bwh.harvard.edu/mailman/listinfo/slicer-users Mailing list for users]&lt;br /&gt;
* [http://massmail.bwh.harvard.edu/mailman/listinfo/slicer-devel Mailing list for developers]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
*[[Modules:ExtensionsManagementWizard-Documentation-4.0| Extensions Management Wizard]] (xx)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
===Module Categories ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;big&amp;gt;'''&lt;br /&gt;
* [[#Core Modules|Core Modules]]&lt;br /&gt;
* [[#Wizards|Wizards]]&lt;br /&gt;
* [[#Informatics|Informatics]]&lt;br /&gt;
* [[#Registration|Registration]]&lt;br /&gt;
* [[#Segmentation|Segmentation]]&lt;br /&gt;
* [[#Quantification|Quantification]]&lt;br /&gt;
* [[#Diffusion|Diffusion]]&lt;br /&gt;
* [[#IGT|IGT]]&lt;br /&gt;
* [[#Filtering|Filtering]]&lt;br /&gt;
* [[#Surface Models|Surface Models]]&lt;br /&gt;
* [[#Converters|Converters]]&lt;br /&gt;
* [[#Endoscopy|Endoscopy]]&lt;br /&gt;
* [[#DeveloperTools|Developer Tools]]&lt;br /&gt;
* [[#Legacy|Legacy]]&lt;br /&gt;
* [[#Utilities|Utility]]&lt;br /&gt;
&amp;lt;/big&amp;gt;&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
===Miscellaneous===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;!-- * [[Documentation/{{documentation/version}}/ImageGallery|Image gallery]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Slicer4:VisualBlog|Visual blog]]&lt;br /&gt;
: Set of screenshots showing Slicer in action.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* [[Documents and links]]&lt;br /&gt;
: Set of presentations made on Slicer and document talking about it.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [[Documentation/4.0/Training|Training pages]]&lt;br /&gt;
: Information on how to use Slicer {{documentation/version}}&lt;br /&gt;
&lt;br /&gt;
* [[Documentation/{{documentation/version}}/FAQ|FAQ]]&lt;br /&gt;
: Set of common questions/answers&lt;br /&gt;
&lt;br /&gt;
===Developers Corner===&lt;br /&gt;
----&lt;br /&gt;
* [[Documentation/{{documentation/version}}/Developers | Developers Information]]&lt;br /&gt;
: Handy Developer Info&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=General Information=&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|&lt;br /&gt;
{{Infobox&lt;br /&gt;
|name         = 3D Slicer {{documentation/version}}&lt;br /&gt;
|above        = 3D Slicer&lt;br /&gt;
|abovestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = [[File:3DSlicer4Logo-H-218X144.png|218px|alt=3D Slicer {{documentation/version}}]]&lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|headerstyle  = background:#E7DCC3;&lt;br /&gt;
|labelstyle   = &lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 = Description&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   =&lt;br /&gt;
|header2 =&lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = Research platform for the analysis and visualization of medical images, including image guided therapy.&lt;br /&gt;
|header3 =&lt;br /&gt;
|label3  = &lt;br /&gt;
|data3   = Free and extensible open source package.&lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = Multi-platform&lt;br /&gt;
|data4   = Linux, MacOSX, Windows&lt;br /&gt;
|header5 =&lt;br /&gt;
|label5  = Version&lt;br /&gt;
|data5   = {{documentation/version}}&lt;br /&gt;
|header6 =&lt;br /&gt;
|label6  = License&lt;br /&gt;
|data6   = [http://www.slicer.org/pages/LicenseText Contribution and Software License Agreement]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|&lt;br /&gt;
&amp;lt;gallery widths=150px heights=150px perrow=&amp;quot;3&amp;quot; frameless=&amp;quot;yes&amp;quot;&amp;gt;&lt;br /&gt;
Image:2011-11-12-CroppingWholeBrainTractography-detail.png&lt;br /&gt;
Image:Selection 142.png&lt;br /&gt;
Image:prostate_multiparametric_visualization_Slicer4.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{ombox&lt;br /&gt;
|type=content&lt;br /&gt;
|text=The {{documentation/version}} release of 3D Slicer contains significant changes both to the organization of the software and to the functionality. Please check the [[Documentation/{{documentation/version}}/Announcements | Announcement page]] for more details. The community contributing to Slicer {{documentation/version}} is [[Documentation/{{documentation/version}}/Acknowledgment Team|acknowledged here]].&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{ombox | text = For information on how to obtain Slicer {{documentation/version}} please go to the [[Snapshots|Download Pages]]. }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Requirements for Modules=&lt;br /&gt;
* The module is '''feature complete''', i.e. it does everything that it advertises&lt;br /&gt;
* The module has a '''test'''. See [http://wiki.na-mic.org/Wiki/index.php/Slicer3:Execution_Model_Testing '''here'''] for more information.&lt;br /&gt;
* The module is fully documented. [[Documentation/{{documentation/version}}/Modules/YOURMODULENAME|Template]] and [[Documentation/{{documentation/version}}/HowTo|How-to]] for the end user documentation.&lt;br /&gt;
* The module complies with [[Documentation-Rons-Rules-For-Tools|Rons rules for tool]] and the style guide lines, including [[Slicer3:Human_Interface_and_Style_Guide_for_Developers#Colors:_application_palettes|color palette]].&lt;br /&gt;
*Use the logos in the [[Logo_Gallery|Logo Gallery]]&lt;br /&gt;
&lt;br /&gt;
=Modules by Category=&lt;br /&gt;
==Core Modules==&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Annotations|Annotations]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Colors|Colors]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Data|Data]] (Julien Finet) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/DICOM|DICOM]] (Steve Pieper)&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Editor|Editor]] (Steve Pieper)&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Models|Models]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/SceneViews|SceneViews]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Transforms|Transforms]] (Alex Yarmarkovich) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/ViewControllers|View Controllers]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/Volumes|Volumes]] (Steve Pieper)&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/VolumeRendering|Volume Rendering]] (Julien Finet) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/SlicerWelcome|Welcome to Slicer]] (Wendy Plesniak) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Wizards==&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/ChangeTracker|ChangeTracker]] (Andrey Fedorov)  [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Informatics==&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/SampleData|Sample Data]] (Steve Pieper)&lt;br /&gt;
&lt;br /&gt;
==Registration==&lt;br /&gt;
*[[Documentation/4.0/Modules/BRAINSFit|General Brainsfit Registration]] (Hans Johnson) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/BRAINSResample|Resample Image (BRAINS)]] (Hans Johnson) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Specialized&lt;br /&gt;
**[[Documentation/4.0/Modules/ACPCTransform|ACPC Transform]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/BRAINSDemonWarp|Demon Registration (BRAINS)]] (Hans Johnson) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/TransformFromFiducials|Fiducial Registration (BRAINS)]] (Stephen Aylward) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**Vector Demon Registration (Hans Johnson)&lt;br /&gt;
&lt;br /&gt;
==Segmentation==&lt;br /&gt;
*EMSegment Easy (no atlas) (Kilian Pohl) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/EMSegmenter|EMSegment (with atlas)]] (Kilian Pohl) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/Simple Region Growing|Simple Region Growing]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Specialized&lt;br /&gt;
**EMSegment Command-line (Kilian Pohl) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/ForegroundMasking|Foreground Masking (BRAINS)]] (Hans Johnson) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/MeshContourSegmentation|Mesh Contour Segmentation]] (Allen Tannenbaum)  [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/RobustStatisticsSegmenter|Robust Statistics Segmentation]] (Allen Tannenbaum) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Quantification==&lt;br /&gt;
*[[Documentation/{{documentation/version}}/Modules/DataProbe|Data Probe]] (Steve Pieper)&lt;br /&gt;
*[[Documentation/4.0/Modules/LabelStatistics|Label Statistics]] (Steve Pieper)&lt;br /&gt;
*[[Documentation/4.0/Modules/SUVComputation|SUV Computation]] (Wendy Plesniak) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Diffusion== &lt;br /&gt;
*DWI to Full Brain Tractography (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Denoising&lt;br /&gt;
**Joint Rician LMMSE Image Filter (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**Rician LMMSE Image Filter (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Tractography&lt;br /&gt;
**[[Documentation/4.0/Modules/TractographyDisplay|Tractography Display]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/TractographyFiducialSeeding|Tractography Fiducial Seeding]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/Seeding|Tractography Labelmap Seeding]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Utilities&lt;br /&gt;
**[[Documentation/4.0/Modules/DiffusionTensorEstimation|Diffusion Tensor Estimation]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/DiffusionTensorMathematics|Diffusion Tensor Scalar Measurements]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/DiffusionWeightedMasking|Mask from Diffusion Weighted Images]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/ResampleDTI|Resample DTI Volume]] (Demian Wasserman) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==IGT==&lt;br /&gt;
&lt;br /&gt;
==Filtering==&lt;br /&gt;
*[[Documentation/4.0/Modules/N4ITKBiasFieldCorrection | N4ITK Bias Field Correction]] (Andrey Fedorov)&lt;br /&gt;
*[[Documentation/4.0/Modules/CheckerBoard|CheckerBoard]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/ExtractSkeleton|Extract Skeleton]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/HistogramMatching|Histogram Matching]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/ImageLabelCombine|Image Label Combine]] (Alex Yarmarkovich) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/ResampleScalarVectorDWIVolume|Resample Scalar/Vector/DWI Volume]] (Francois Budin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/Threshold|Threshold Image]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/VotingBinaryHoleFillingImageFilter|Voting Binary Hole Filling]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Resample Tools&lt;br /&gt;
**[[Documentation/4.0/Modules/ResampleVolume|Resample Volume]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Arithmetic &lt;br /&gt;
**[[Documentation/4.0/Modules/Add| Add Images]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/Cast| Cast Image]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/Mask| Mask Image]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/Multiply| Multiply Images]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/Subtract| Subtract Images]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Denoising&lt;br /&gt;
**[[Documentation/4.0/Modules/GradientAnisotropicDiffusion |Gradient Anisotropic Diffusion]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]] &lt;br /&gt;
**[[Documentation/4.0/Modules/CurvatureAnisotropicDiffusion|Curvature Anisotropic Diffusion]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/GaussianBlurImageFilter|Gaussian Blur]] (Stephen Aylward) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/MedianImageFilter|Median Image Filter]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Morphology&lt;br /&gt;
**[[Documentation/4.0/Modules/GrayscaleFillHoleImageFilter|Grayscale Fill Hole]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/GrayscaleGrindPeakImageFilter|Grayscale Grind Peak]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Surface Models==&lt;br /&gt;
*[[Documentation/4.0/Modules/GrayscaleModelMaker| Grayscale Model Maker]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Label Map Smoothing&lt;br /&gt;
*[[Documentation/4.0/Modules/MergeModels| Merge Models]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/ModelMaker| Model Maker]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/PolyDataToLabelmap| PolyData To LabelMap]] (Nicole Aucoin) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Probe Volume with Model (Paint)&lt;br /&gt;
&lt;br /&gt;
==Converters==&lt;br /&gt;
*[[Documentation/4.0/Modules/ImageReadDicomWrite|Create Dicom Series]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/Crop Volume|Crop Volume]] (Andrey Fedorov)&lt;br /&gt;
*[[Documentation/4.0/Modules/DicomToNrrdConverter|Dicom to Nrrd Converter]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/OrientImage| Orient Images]] (Jim Miller) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Endoscopy==&lt;br /&gt;
*[[Documentation/4.0/Modules/Endoscopy|Endoscopy]] (Steve Pieper)&lt;br /&gt;
&lt;br /&gt;
==Developer Tools==&lt;br /&gt;
*[[Documentation/4.0/Modules/Cameras|Cameras]] (Julien Finet) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/EventBroker|Event Broker]] (Julien Finet) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/ExecutionModelTour |Execution Model Tour]] (JC Fillion-Robert)  [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*Module Template&lt;br /&gt;
*Multiple Models Example&lt;br /&gt;
*Performance Tests&lt;br /&gt;
*Tractography&lt;br /&gt;
&lt;br /&gt;
==Legacy==&lt;br /&gt;
*Converters&lt;br /&gt;
**BSpline to Deformation Field&lt;br /&gt;
*Diffusion&lt;br /&gt;
**Denoising&lt;br /&gt;
***Unbiased Non Local Means Filter for DWI&lt;br /&gt;
*Filtering&lt;br /&gt;
**[[Documentation/4.0/Modules/MRIBiasFieldCorrection|MRI Bias Field Correction]] (Sylvain Jaume) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/OtsuThresholdImageFilter|Otsu Threshold]] (Bill Lorensen) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**Resample Scalar Volume&lt;br /&gt;
*Registration&lt;br /&gt;
**[[Documentation/4.0/Modules/RigidRegistration|Rigid Registration]] (Jim Miller)  [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/AffineRegistration|Affine Registration]] (Daniel Blezek) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
*[[Documentation/4.0/Modules/BSplineDeformableRegistration|Nonrigid BSpline Registration]] [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**Nonrigid BSpline Registration&lt;br /&gt;
**Expert Automated Registration&lt;br /&gt;
**[[Documentation/4.0/Modules/LinearRegistration|Linear Registration]] [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**[[Documentation/4.0/Modules/TestGridTransformRegistration|Test Grid Transform Registration]] [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
**Robust Multiresolution Affine Registration&lt;br /&gt;
*Segmentation&lt;br /&gt;
**[[Documentation/4.0/Modules/OtsuThresholdSegmentation|Otsu Threshold Segmentation]] (Bill Lorensen) [[image:UnderConstruction.png|tumb|10px]]&lt;br /&gt;
&lt;br /&gt;
==Utilities==&lt;br /&gt;
*Transform MRML Files to NewSegmenter Standard&lt;br /&gt;
&lt;br /&gt;
=Extensions=&lt;br /&gt;
&lt;br /&gt;
'''Introduction'''&lt;br /&gt;
&lt;br /&gt;
* Slicer Extensions are the &amp;quot;on-ramp&amp;quot; to the Slicer &amp;quot;highway&amp;quot;. slicer Extensions provide a voluntary mechanism for anybody, including third parties, to extend the functionality of 3d Slicer.&lt;br /&gt;
* While the '''Slicer license''' is suggested for extensions, it is '''not required'''. Please review the documentation of the extension carefully as some extensions might have a &amp;quot;non-Slicer&amp;quot; license.&lt;br /&gt;
* For a subset of extensions, you can use the extension wizard in Slicer to find their webpages and to install/uninstall individual extensions. &lt;br /&gt;
* In case of problems with extensions, please talk directly to the developers of the extensions.&lt;br /&gt;
* Information for developers can be found [[Slicer4:Extensions|here]]. See [[Module:EndUserDocumentationTemplate-4.0|here]] for the end-user documentation template.&lt;br /&gt;
* In Slicer 4, all new modules will begin as &amp;quot;Immature Extensions&amp;quot;. They will progress to the status of &amp;quot;Mature Extensions&amp;quot;, when they meet all the criteria listed below. In order to become part of the main Slicer distribution a discussion with the Slicer core team will have to be initiated after reaching the mature extension status. While extensions can be made available under many licenses, the main Slicer distribution will contain ONLY code under the slicer license, with no known IP liabilities.&lt;br /&gt;
&lt;br /&gt;
==Collections==&lt;br /&gt;
Collections are groups of extensions that can be downloaded in a single operation. You can think of them as the equivalent to a playlist.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable labelpage labelpagetable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! id&lt;br /&gt;
! Thumbnail&lt;br /&gt;
! Name&lt;br /&gt;
! Short Description&lt;br /&gt;
! Maturity&lt;br /&gt;
! Slicer License&lt;br /&gt;
! Search terms&lt;br /&gt;
! Contact Information&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| [[Image:Slicervmtk logo.png|60px|lleft|Replace the image with your image, replace the generic documentation link with a link to your documentation|link=Module:EndUserDocumentationTemplate-4.0]] &lt;br /&gt;
| MyCollection&lt;br /&gt;
| This is a collection of extensions that will do something miraculous with your images&lt;br /&gt;
| [[File:StableExtensionIcon.png|80px]]&lt;br /&gt;
| [[File:SlicerLicenseIcon.png|80px]]&lt;br /&gt;
| segmentation, level set&lt;br /&gt;
| my-email at mit.edu&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Table Of Extensions==&lt;br /&gt;
{| class=&amp;quot;wikitable sortable labelpage labelpagetable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! id&lt;br /&gt;
! Thumbnail&lt;br /&gt;
! Name&lt;br /&gt;
! Short Description&lt;br /&gt;
! Maturity&lt;br /&gt;
! Slicer License&lt;br /&gt;
! Search terms&lt;br /&gt;
! Contact Information&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| [[Image:SkullStripperSurface-3-6.png|60px|lleft|Replace the image with your image, replace the generic documentation linke with a link to your documentation|link=Module:EndUserDocumentationTemplate-4.0]] &lt;br /&gt;
| MyExtension&lt;br /&gt;
| This is an extension that will do something wonderful with your data&lt;br /&gt;
| [[File:ExperimentalExtensionIcon.png|80px]]&lt;br /&gt;
| [[File:NoSlicerLicenseIcon.png|80px]]&lt;br /&gt;
| filter, anisotropic&lt;br /&gt;
| my-email at gmail.com&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| [[Image:Slicervmtk logo.png|60px|lleft|Replace the image with your image, replace the generic documentation linke with a link to your documentation|link=Module:EndUserDocumentationTemplate-4.0]] &lt;br /&gt;
| MyExtension&lt;br /&gt;
| This is an extension that will do something miraculous with your images&lt;br /&gt;
| [[File:StableExtensionIcon.png|80px]]&lt;br /&gt;
| [[File:SlicerLicenseIcon.png|80px]]&lt;br /&gt;
| segmentation, level set&lt;br /&gt;
| my-email at mit.edu&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Caption for the table of extensions'''&lt;br /&gt;
&amp;lt;gallery heights=&amp;quot;50px&amp;quot; perrow=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
Image:SlicerLicenseIcon.png‎| Distributed under the [http://www.slicer.org/pages/LicenseText Slicer License]&lt;br /&gt;
Image:NoSlicerLicenseIcon.png| Distributed under a Non Slicer License&lt;br /&gt;
Image:ExperimentalExtensionIcon.png|Work in progress (aka mess)&amp;lt;br&amp;gt;Use with care&amp;lt;br&amp;gt;Might not work all the time&amp;lt;br&amp;gt;Might not be available for all platforms&lt;br /&gt;
Image:StableExtensionIcon.png|Stable &amp;lt;br&amp;gt;Full documentation &amp;lt;br&amp;gt;Works as advertised &amp;lt;br&amp;gt;Compiles on all supported platforms&amp;lt;br&amp;gt;Email support works&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23002</id>
		<title>Documentation/4.0/Modules/ForegroundMasking</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.0/Modules/ForegroundMasking&amp;diff=23002"/>
		<updated>2011-11-21T15:18:32Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Initial template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-header}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Introduction and Acknowledgements}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-start|{{documentation/modulename}}}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NA-MIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on NA-MIC can be obtained from the [http://www.na-mic.org/ NA-MIC website].&amp;lt;br&amp;gt;&lt;br /&gt;
Author: Hans Johnson, UIOWA&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor1: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contributor2: FIRSTNAME LASTNAME, AFFILIATION&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: Hans Johnson, &amp;lt;email&amp;gt;(hans-johnson@uiowa.edu&amp;lt;/email&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-row}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-logo-gallery&lt;br /&gt;
|Image:UIOWA-logo.png|University of Iowa&lt;br /&gt;
|Image:Logo-splnew.jpg|Surgical Planning Laboratory&lt;br /&gt;
}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-introduction-end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Module Description}}&lt;br /&gt;
Here comes a description what the module is good for. Explain briefly how it works and point to the [[documentation/{{documentation/version}}/Modules/{{documentation/modulename}}#References|references]] giving more details on the algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- THE FOLLOWING SHOULD BE REMOVED FOR YOUR OWN MODULE DOCUMENTATION --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
If you are documenting a CLI, the description should be extracted from the corresponding XML description. This could be done automatically using the following wiki template:&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-description|xmlurl=http://path/to/YOURMODULE.xml }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your module is available in Slicer repository, the following template could be useful to obtain the corresponding URL:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this later template, the final syntax would be:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-description|xmlurl={{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}} }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Use Cases}}&lt;br /&gt;
Most frequently used for these scenarios:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1:&lt;br /&gt;
* Use Case 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Tutorials}}&lt;br /&gt;
Links to tutorials that use this module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Panels and their use}}&lt;br /&gt;
&lt;br /&gt;
A list of all the panels in the interface, their features, what they mean, and how to use them. For instance:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Input panel1:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 1]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* Input panel2:&lt;br /&gt;
** First input&lt;br /&gt;
** Second input&lt;br /&gt;
* Parameters panel:&lt;br /&gt;
** First parameter&lt;br /&gt;
** Second parameter&lt;br /&gt;
* Output panel:&lt;br /&gt;
** First output&lt;br /&gt;
** Second output&lt;br /&gt;
* Viewing panel:&lt;br /&gt;
| align=&amp;quot;right&amp;quot; |&lt;br /&gt;
[[Image:screenshotBlankNotOptional.png|thumb|280px|Name of panel 2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Similar Modules}}&lt;br /&gt;
* Point to other modules that have similar functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|References}}&lt;br /&gt;
Publications related to this module go here. Links to pdfs would be useful.&lt;br /&gt;
For extensions: link to the source code repository and additional documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|ModuleTemplate|type=Interactive|category=Example}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- THE FOLLOWING SHOULD BE REMOVED FOR YOUR OWN MODULE DOCUMENTATION --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
{{note}}The section above is generated using the following wiki code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-section|Information for Developers}}&lt;br /&gt;
{{documentation/{{documentation/version}}/module-developerinfo|ModuleTemplate|type=Interactive|category=Example}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are documenting a CLI, the category should be extracted from the corresponding XML description. This could be done automatically using the following wiki template:&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-category|xmlurl=http://path/to/YOURMODULENAME.xml }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your module is available in Slicer repository, the following template could be useful to obtain the corresponding URL:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this later template, the final syntax would be:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{documentation/{{documentation/version}}/module-category|xmlurl={{documentation/{{documentation/version}}/module-cli-xmlurl|{{documentation/modulename}}|SVNREVISION}} }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&amp;lt;!-- ----------------------------------------------------------------- --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;br /&gt;
{{documentation/{{documentation/version}}/module-footer|category=Example}}&lt;br /&gt;
&amp;lt;!-- ---------------------------- --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Modules:LesionSegmentationApplications-Documentation-3.6&amp;diff=22647</id>
		<title>Modules:LesionSegmentationApplications-Documentation-3.6</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Modules:LesionSegmentationApplications-Documentation-3.6&amp;diff=22647"/>
		<updated>2011-11-10T19:24:39Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Authors, Collaborators &amp;amp; Contact */ Updated email addr.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Documentation-3.6|Return to Slicer 3.6 Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Announcements:Slicer3.6#Highlights|Gallery of New Features]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
===Lupus Lesion Segmentation Applications===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[File:LesionFlowChart.jpg|thumb|200px|Lesion Segmentation Method Overview]]&lt;br /&gt;
|[[File:LesionsWithVentricles.png|thumb|200px|Segmented Lesion Volume in Brain]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== General Information ==&lt;br /&gt;
===Module Type &amp;amp; Category===&lt;br /&gt;
&lt;br /&gt;
Type: CLI&lt;br /&gt;
&lt;br /&gt;
Category: Segmentation&lt;br /&gt;
&lt;br /&gt;
===Authors, Collaborators &amp;amp; Contact===&lt;br /&gt;
* Author1: Mark Scully, The University of Iowa&lt;br /&gt;
* Author2: H. J. Bockholt, The Mind Research Network&lt;br /&gt;
* Contributor1: &lt;br /&gt;
* Contact: Mark Scully, mark-scully[at]uiowa[dot]edu&lt;br /&gt;
&lt;br /&gt;
===Module Description===&lt;br /&gt;
The lupus lesion segmentation applications are a group of tools for segmenting lesions in lupus patients using the T1-weighted, T2-weighted, and FLAIR images. This cross-platform tool can be run within Slicer3 as an external module, or directly as a command line.&lt;br /&gt;
&lt;br /&gt;
Please see the [http://wiki.na-mic.org/Wiki/index.php/DBP2:MIND:Roadmap DBP description] for more information.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is specifically for segmenting lesions in lupus patients. &lt;br /&gt;
===Tutorials===&lt;br /&gt;
&lt;br /&gt;
* Tutorials:&lt;br /&gt;
** [[Media:Slicer3Training_WhiteMatterLesions_v2.3.pdf‏| Lesion Segmentation Tutorial PDF]]&lt;br /&gt;
* Tutorial Dataset&lt;br /&gt;
** [http://www.nitrc.org/frs/download.php/860/LesionSegmentationTutorialData.tgz Download Example dataset]&lt;br /&gt;
&lt;br /&gt;
===Quick Tour of Features and Use===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* '''Input:''' set input images representing the different modalities of the same subject&lt;br /&gt;
** Input T1 Volume: set input T1-weighted image, if available&lt;br /&gt;
** Input T2 Volume: set input T2-weighted image, if available&lt;br /&gt;
** Input FLAIR Volume: set input FLAIR image, if available&lt;br /&gt;
** Input Brain Mask Volume: set input Brain Mask image, if available&lt;br /&gt;
** Lesion segmentation Model File: set to the model file available with the tutorial&lt;br /&gt;
&lt;br /&gt;
* '''Output:''' set output image&lt;br /&gt;
** Output Lesion Mask Volume: The volume that is the result of the segmentation process&lt;br /&gt;
&lt;br /&gt;
|[[File:Predict_lesion_view.jpg|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
&lt;br /&gt;
===Notes from the Developer(s)===&lt;br /&gt;
&lt;br /&gt;
Algorithms used, library classes depended upon, use cases, etc.&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
* Slicer3 modules:&lt;br /&gt;
** &lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
&lt;br /&gt;
On the [http://skylla.ia.unc.edu/CDash/index.php?project=ARCTIC Dashboard], these tests verify that the module is working on various platforms:&lt;br /&gt;
&lt;br /&gt;
* MyModuleTest1 [http://viewvc.slicer.org/viewcvs.cgi/trunk MyModuleTest1.cxx]&lt;br /&gt;
* MyModuleTest2 [http://viewvc.slicer.org/viewcvs.cgi/trunk MyModuleTest2.cxx]&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
Links to known bugs in the Slicer3 bug tracker&lt;br /&gt;
&lt;br /&gt;
===Usability issues===&lt;br /&gt;
&lt;br /&gt;
Follow this [http://na-mic.org/Mantis/main_page.php link] to the Slicer3 bug tracker. Please select the '''usability issue category''' when browsing or contributing.&lt;br /&gt;
&lt;br /&gt;
===Source code &amp;amp; documentation===&lt;br /&gt;
&lt;br /&gt;
* [https://www.ia.unc.edu/NeuroLib/Release/ARCTIC/ Source code]&lt;br /&gt;
* Download release source code via svn:&lt;br /&gt;
**  cvs -d :pserver:anonymous@www.nitrc.org:/cvsroot/lupuslesion login&lt;br /&gt;
**  cvs -d :pserver:anonymous@www.nitrc.org:/cvsroot/lupuslesion checkout lupuslesion &lt;br /&gt;
&lt;br /&gt;
== More Information == &lt;br /&gt;
&lt;br /&gt;
===Acknowledgment===&lt;br /&gt;
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
Scully M, Anderson B, Lane T, Gasparovic C, Magnotta V, Sibbitt W, Roldan C, Kikinis R and Bockholt HJ (2010) An automated method for segmenting white matter lesions through multi-level morphometric feature classification with application to lupus. Front. Hum. Neurosci. doi:10.3389/fnhum.2010.00027&lt;br /&gt;
http://frontiersin.org/neuroscience/humanneuroscience/paper/10.3389/fnhum.2010.00027/&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:3.6_Final_Issues&amp;diff=19139</id>
		<title>Slicer3:3.6 Final Issues</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:3.6_Final_Issues&amp;diff=19139"/>
		<updated>2011-02-14T21:43:48Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* TODO: Issues to fix for the 3.6.3 patch release */ Moved BRAINS test fixes to DONE&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Notes: &lt;br /&gt;
* Include the [http://www.na-mic.org/Bug/ mantis] bug number in your svn commit messages&lt;br /&gt;
* Test your fixes in the slicer3 trunk - when you are sure they work, (1) move them to the Slicer-3-6 branch (2) move them from the TODO to the DONE category on this page&lt;br /&gt;
* The Slicer3 repository is in maintenance mode - please do not add new features.  New modules should be added only as [http://www.slicer.org/slicerWiki/index.php/Slicer3:Extensions extensions].&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==TODO: Issues to fix for the 3.6.4 patch release==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Integrate SPECTRE plugin as an extension once MIPAV is open sourced (Nicole)&lt;br /&gt;
* Resample widget does not work properly in linked mode. In that situation, the slices should maintain the relative positions as the widget reorients them. (Steve, Jim, Michal)&lt;br /&gt;
* Adjust the appearance of slices in 3D view [http://www.na-mic.org/Bug/view.php?id=1061 1061] Steve)&lt;br /&gt;
* Interface settings in Application settings are not saved http://na-mic.org/Mantis/view.php?id=1076 (Steve?)&lt;br /&gt;
* http://na-mic.org/Mantis/view.php?id=1028 Request to compute checksum or md5sum and save as part of any storable node has registered as a feature request in Mantis. Plan right now is to create a method on MRMLScene-&amp;gt;DataIOManager that will check for any data transfer with a status vtkDataTransfer::Failed. This status is set inside Base/Logic/vtkDataIOManagerLogic before data is loaded into slicer. Debugging this now... (Wendy)&lt;br /&gt;
* Move vtkEMSegmentLogic::AddDataIOFromScene to base code and replace in Slicer3.cxx corresponding code with function call&lt;br /&gt;
** commandlines currently cannot execute links to files with http address   (Wendy, Dominique)&lt;br /&gt;
* Generate Robust MRI brain registration for EMSegmenter (Kilian, Dominik)&lt;br /&gt;
&lt;br /&gt;
==TODO: Issues to fix for the 3.6.3 patch release==&lt;br /&gt;
''Fixes for these issues should be checked in to the Slicer-3-6 release branch by 3pm Eastern time on Monday, Feb 14, 2011''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BRAINSResample is not available as a shared library (C++ symbol name in .so) [http://www.na-mic.org/Bug/view.php?id=941 941] (Jim)&lt;br /&gt;
* CompareView slice spacing issue [http://na-mic.org/Mantis/view.php?id=936 936] (Jim) &lt;br /&gt;
* CompareView + side-by-sideLightbox + Widescreen CompareView problems [http://www.na-mic.org/Bug/view.php?id=995 995] (Jim)&lt;br /&gt;
* Compareviewer and crosshairs in Navigator mode: 4 compare viewers in wide screen mode (e.g. use [http://www.na-mic.org/Wiki/index.php/File:RSNA2010_fMRICase040Dataset.zip case 40] for data). text is not suppressed, display is slow. (Jim)&lt;br /&gt;
* Migrate latest version of GrowCut into release branch (Harini and Jim)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Slicer3:ChangingVersionsCheckList | update to version]] 3.6.3 (Steve)&lt;br /&gt;
* Create distribution binaries and extensions (Steve)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== DONE: Issues fixed for inclusion in Slicer 3.6.3 ===&lt;br /&gt;
* Migrate BRAINS test fixes to the Slicer-3-6 release branch (Hans, Mark)&lt;br /&gt;
* File extension saving issues [http://na-mic.org/Mantis/view.php?id=1056 1056] [http://na-mic.org/Mantis/view.php?id=1064 1064] (Alex)&lt;br /&gt;
* Warning and block when file type is changed using filename field in the Save dialog [http://www.na-mic.org/Bug/view.php?id=1064 1064] (Alex)&lt;br /&gt;
* Display a warning message during installation on Windows if VC redistributable package is not installed (fix committed to the trunk by partyd on October 29, 2010)&lt;br /&gt;
* Model Hierarchy issues [http://www.na-mic.org/Bug/view.php?id=961 961] (Alex)&lt;br /&gt;
* Warning on unsaved data on scene close and exit (Alex)&lt;br /&gt;
* Status of fade slider is not captured by scenesnapshot (Alexy).&lt;br /&gt;
* Models Display UI cleanup (Alex)&lt;br /&gt;
* models under transforms do not move after save/load scene [http://www.na-mic.org/Bug/view.php?id=1058 1058] (Alex)&lt;br /&gt;
* multiple fiber tubes rendering performance (Alex)&lt;br /&gt;
* Slicer crash related to fiducials/MRML [http://www.na-mic.org/Bug/view.php?id=1042 1042] (Alex)&lt;br /&gt;
* Fixes to Camera/View handling (Alex &amp;amp; Wendy)&lt;br /&gt;
* Resolve bugs concerning vtkMRMLScene::GetReferencedSubScene [[http://na-mic.org/Mantis/view.php?id=1036 1036], etc. (Alex)&lt;br /&gt;
* Modify ProstateNav so that it does not get recompiled all the time. Fixed in rev [http://viewvc.slicer.org/viewcvs.cgi?rev=15446&amp;amp;sortby=rev&amp;amp;sortdir=down&amp;amp;view=rev 15446], now only one file is recompiled. (Andras)&lt;br /&gt;
* Fixed BSplineDeformableRegistration (Fast non-rigid registration) CLI module to work correctly with rotated images (with direction cosines different from identity matrix) (Andras)&lt;br /&gt;
* Fix for vtkITKBSpline transform save with scene snapshot [http://www.na-mic.org/Bug/view.php?id=1050] (Steve)&lt;br /&gt;
* Fix for passing parameters to command line modules from Luca&lt;br /&gt;
* Fix to CropVolume module to correctly propagate the name for the output volume (Andrey)&lt;br /&gt;
* FastMarching crashes when applied two two different volumes one after another [http://www.na-mic.org/Bug/view.php?id=1057 1057] (Andrey)&lt;br /&gt;
* ChangeTracker deformable metric did not work because demons binary was not properly installed (Andrey)&lt;br /&gt;
* Setup node selector in LabelStatistics to allow label maps only (Andrey)&lt;br /&gt;
* CropVolume would not work anymore after scene is closed (Andrey)&lt;br /&gt;
* While in the volume rendering module, the render speed is slow while looking at a composited cross section. [http://www.na-mic.org/Bug/view.php?id=1052 1052]&lt;br /&gt;
* http://na-mic.org/Mantis/view.php?id=983 (fixed)&lt;br /&gt;
* Migrate DicomToNrrd fixes to the Slicer-3-6 release branch (Xiaodong)&lt;br /&gt;
* Migrate MRML Node test fixes to the Slicer-3-6 release branch (Nicole)&lt;br /&gt;
* Fix cygwin compile issue http://www.na-mic.org/Bug/view.php?id=1078  (Andras)&lt;br /&gt;
* Model Maker naming bug [http://www.na-mic.org/Bug/view.php?id=1043 1043] (Nicole)&lt;br /&gt;
* Loading *.mask files via 'Add Data' doesn't work [http://na-mic.org/Mantis/view.php?id=1067 1067] (Vince, Hans, Dominique)&lt;br /&gt;
* Expose step size parameter for Endoscopy (Steve)&lt;br /&gt;
* Label Grid should be off by default and should not come on automatically (Steve)&lt;br /&gt;
* Slice volume selectors are reset after executing CLI http://na-mic.org/Mantis/view.php?id=1077 (Steve)&lt;br /&gt;
* 4D Image: origin is not consistent with &amp;quot;Add volume&amp;quot; loaded data [http://www.na-mic.org/Bug/view.php?id=1000 1000] (Steve, Andrey, Junichi, Isaiah)&lt;br /&gt;
* Switch to tclkit for running genlib to work around [http://viewvc.slicer.org/viewcvs.cgi?rev=15824&amp;amp;view=rev cygwin tclsh PATH] issue (Steve and Andras)&lt;br /&gt;
* fix 3 view layout with endoscopy, external, and volume rendering view in distinct viewers to support Jay's programmaticly defined use-case (Steve) (not all functionality will be exposed in the GUI).&lt;br /&gt;
** switching layouts loses observers on scene&lt;br /&gt;
** no way to filter display of models or volume rendering in different viewers&lt;br /&gt;
* Migrate fixes for oblique volume editing and threshold paint optimization after testing in trunk (Steve, Andrey)&lt;br /&gt;
* Integrate Endoscopic layout. (Wendy)&lt;br /&gt;
* Move Cache and DataIO manager setup out of Slicer3.cxx and into SlicerApplicationLogic (not MRML). Not done for 3.6.3 but workaround is being used. (Wendy) [http://na-mic.org/Mantis/view.php?id=1033 1033]&lt;br /&gt;
* Debug leaks in FetchMI http://na-mic.org/Mantis/view.php?id=1029&lt;br /&gt;
* Error messages in FetchMI: http://na-mic.org/Mantis/view.php?id=1027 (related to 1028)&lt;br /&gt;
* Model maker pad fix http://na-mic.org/Mantis/view.php?id=813 (Nicole)&lt;br /&gt;
* Remove bugs and simplify user interface of Extension manager: (Steve) - committed to trunk for testing&lt;br /&gt;
** uninstall does not work &lt;br /&gt;
** &amp;quot;Download /install&amp;quot; and &amp;quot;Uninstall&amp;quot; button should be removed and be executed via next button to keep philosophy of workflow wizard&lt;br /&gt;
* Fix for level tracing http://na-mic.org/Mantis/view.php?id=1084&lt;br /&gt;
* Extensions (Steve / Daniel)&lt;br /&gt;
** Download problems http://na-mic.org/Mantis/view.php?id=1080&lt;br /&gt;
* Migrate latest version of GrowCut into release branch (Harini)&lt;br /&gt;
* Include Atlas Creator (Kilian, Daniel)&lt;br /&gt;
* Migrate EMSegment test fixes to the Slicer-3-6 release branch (Dominique, Kilian, Daniel)&lt;br /&gt;
* Data loading and FetchMI (Wendy -- fixes have been checked into trunk, and propagated to branch.)&lt;br /&gt;
* Slice view toggles [http://www.na-mic.org/Bug/view.php?id=1003 1003] (Nicole)&lt;br /&gt;
&lt;br /&gt;
==TODO: Issues to fix for the 3.6.2 patch release Oct 22/10==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== DONE: Issues fixed for inclusion in Slicer 3.6.2 ===&lt;br /&gt;
* Merge &amp;quot;reference&amp;quot; volume attribute feature into CommandLineModule (Andrey)&lt;br /&gt;
* 3D Viewer does not update when slice model is visible and dragging the Fg/Bg slider [http://www.na-mic.org/Bug/view.php?id=1019 1019] (Alex)&lt;br /&gt;
* N4 module bug in histogram sharpening parameter passing (Andrey)&lt;br /&gt;
* Updated versions of BRAINS tools (Hans)&lt;br /&gt;
* Detection of some BRAINS modules (e.g. BRAINSResample) (Steve)&lt;br /&gt;
* Resolve bugs concerning vtkMRMLScene::GetReferencedSubScene [http://na-mic.org/Mantis/view.php?id=1032 1032]&lt;br /&gt;
* Import does not correctly update reference [http://www.na-mic.org/Bug/view.php?id=1010 1010] (Alex)&lt;br /&gt;
* Changing names of volume nodes is not propagated to GUI [http://www.na-mic.org/Bug/view.php?id=1012 1012] (Steve)&lt;br /&gt;
* Editor tweaks:&lt;br /&gt;
** add search to the color selector box - color list dynamically filtered when typing in search box&lt;br /&gt;
** pick a new default size for the color selector box (or perhaps have it remember the last size/location picked by the user)  - color box remembers size selected by user&lt;br /&gt;
** give the color box a 'recently used' section - most recently used colors are now added at top of list for easy access&lt;br /&gt;
** rename 'check points' to 'undo/redo'&lt;br /&gt;
** implement compression (to vtk stencils) for label maps in the undo/redo stack (update: vtk stencils only represent a single value so they won't work for a multi-value labelmap - looking for alternatives).  Done: implemented using new vtkImageStash class that uses ZLib to compress scalar image data.  Also allows for compression in background thread so it does not get in the way of interactive use.&lt;br /&gt;
* Failed memory allocation dialog box (Steve) - in slicer3 trunk&lt;br /&gt;
* 3D Viewer disappears [http://www.na-mic.org/Bug/view.php?id=1004 1004] (Alex)&lt;br /&gt;
* in the editor module compress saved label maps into stencils (Steve)&lt;br /&gt;
* Side-by-side and Widescreen compare view linking problems appear fixed.&lt;br /&gt;
* Ron requests default for crosshair to be navigator OFF &lt;br /&gt;
* Import of XNAT xcat files not working [http://www.na-mic.org/Bug/view.php?id=996 996] (Works for nrrd, not dicom. Release note added.)&lt;br /&gt;
* FetchMi does not store path names correctly [http://www.na-mic.org/Bug/view.php?id=993 (was listed as 998, but refers to duplicate bug 993] which appears to be fixed now. &lt;br /&gt;
* FetchMI problems mentioned here [http://www.na-mic.org/Bug/view.php?id=998 998] and here [http://na-mic.org/Mantis/view.php?id=955 955] are due to (1) no or loss of network connection or (2) a full cache. (Wendy) added tests for network and server availability in fetchmi and for a full cache before attempting to transact with services. &lt;br /&gt;
* FetchMI segfaults when uploading  mrml file [http://www.na-mic.org/Bug/view.php?id=1011 1011] (Wendy: this problem is due to having no cache space. Clear the cache and make sure your filesystem has enough free space to play with, then the upload works.)&lt;br /&gt;
* CompareView issue [http://na-mic.org/Mantis/view.php?id=929 929] (Jim)&lt;br /&gt;
* Display tab in the volumes module should be open by default [http://www.na-mic.org/Bug/view.php?id=1001 1001]&lt;br /&gt;
* in the editor module replace the words &amp;quot;Check Points&amp;quot; with the word &amp;quot;Undo&amp;quot; (Steve)&lt;br /&gt;
* CompareView + Crosshairs issue [http://na-mic.org/Mantis/view.php?id=928 928] (Jim)&lt;br /&gt;
* Cannot change the window/level on color-by-orientation dti volumes (Alex [http://na-mic.org/Mantis/view.php?id=988]).&lt;br /&gt;
* Ron's requested changes to the volume rendering transfer function (email from 8/20) (Alex-&amp;gt;Steve: implemented and checked in trunk for testing): &lt;br /&gt;
**add thumbnails to show effect of the transfer functions, &lt;br /&gt;
**remove unneeded ones, correct a typo. &lt;br /&gt;
**Materials are in drop box in Ronsexamples in a zipped folder called Transferfunctions. &lt;br /&gt;
* [http://na-mic.org/Mantis/view.php?id=971 971] Scene import does not work correctly (Alex: fixed on the trunk, Slicer3.6, SLicer4)&lt;br /&gt;
* Fiber bundle display GUI issue (Alex) [http://www.na-mic.org/Bug/view.php?id=994] '''NOTE: there is a MRML scene compatibility issue, see comments in [http://www.na-mic.org/Bug/view.php?id=994] '''&lt;br /&gt;
* Color-orientation display for DTI volumes crashes Slicer when trying to save scene [http://na-mic.org/Mantis/view.php?id=976 976] (Alex)&lt;br /&gt;
* Diffusion Tensor Glyphs not showing (Demian)&lt;br /&gt;
* Diffusion Tensor Tractography having a strange no-tracking through high FA areas case  (Demian)&lt;br /&gt;
* Make shift-leftbutton-drag be shift for slice viewers (Steve) (Committed to trunk -sending a binary to Ron for testing)&lt;br /&gt;
* volume rendering: sampling rate and a few other tweaks (Yanling)&lt;br /&gt;
* CompareView issues [http://na-mic.org/Mantis/view.php?id=927 927]&lt;br /&gt;
* Bug when volume rendering volumes with smooth gradients [http://viewvc.slicer.org/viewcvs.cgi?rev=14752&amp;amp;view=rev][http://viewvc.slicer.org/viewcvs.cgi?rev=14751&amp;amp;view=rev] (Steve)&lt;br /&gt;
* Import scene does not update 3D viewer (Nicole, Wendy) http://na-mic.org/Mantis/view.php?id=840&lt;br /&gt;
* Loading a scene that contains a fiducial seeding node breaks fiducial seeding if the node points to an invalid fiducial node (Nicole)&lt;br /&gt;
* missing quick timeout if connection to web resource is blocked [http://na-mic.org/Mantis/view.php?id=969 969]&lt;br /&gt;
* [http://na-mic.org/Mantis/view.php?id=954 954] EMSegmentCommandLine throws errors if started from a current working directory different than ./Slicer3-build&lt;br /&gt;
* [http://na-mic.org/Mantis/view.php?id=948 948] + [http://na-mic.org/Mantis/view.php?id=958 958] Segfault during segmentation when saving intermediate results&lt;br /&gt;
* [http://na-mic.org/Mantis/view.php?id=970 970] EMSegmentMRMMLanager cannot handle two taks&lt;br /&gt;
* [http://na-mic.org/Mantis/view.php?id=973 973] MRML file does not read nrrd files correctly when the files are located in different directory&lt;br /&gt;
* Ordering of the series by number in DICOM browser [http://na-mic.org/Mantis/view.php?id=965 965] (Steve)&lt;br /&gt;
* Create robust pipeline for 3D MRI brain images [http://na-mic.org/Mantis/view.php?id=972 972] (Kilian)&lt;br /&gt;
* It seems that the camera does not transform correctly under transform node (Steve). [http://na-mic.org/Mantis/view.php?id=957 957] fixed and checked in.&lt;br /&gt;
* Reading fiducial lists with .txt extensions. [http://www.na-mic.org/Bug/view.php?id=991 991] (Nicole)&lt;br /&gt;
* add the --tmpdir option to the start up allowing one to specify slicers temporary directory (Dominique)&lt;br /&gt;
* Fix the leaks in the nightly tests [http://www.cdash.org/CDash/viewTest.php?onlyfailed&amp;amp;buildid=731096] (Dominique)&lt;br /&gt;
* Issue [http://na-mic.org/Mantis/view.php?id=968 968]: LD_LIBRARY_PATH screwewd up when no network connection (Steve with Kilian)&lt;br /&gt;
* Relative paths in volume storage nodes [http://www.na-mic.org/Bug/view.php?id=993 993] (Nicole)&lt;br /&gt;
* [https://slicer.spl.harvard.edu/slicerWiki/index.php/Slicer3:GPURayCaster#Open_Issues VTK GPU Ray Cast issues] (Julien)&lt;br /&gt;
** Flickering has not been improved since 3.6.1.&lt;br /&gt;
** Crash on MAC: the 2 Apple bug reports from Francois Bertel and James Barabas are still open (rank #1). Apple didn't contact them.&lt;br /&gt;
* Change names of the grow cut gesture volume nodes to be consistent with the naming conventions of label map (Harini)&lt;br /&gt;
* Grow Cut: Change the gesture volume node to be displayed on the foreground and the segmented label volume node to be displayed on the label layer of the slice views (Harini)&lt;br /&gt;
* Grow Cut: Modify the opacities of the label layer and the foreground layer to overlay the user input gestures, the resulting segmentation on the image background (Harini)&lt;br /&gt;
* Grow Cut: Modify user interface for setting inputs to the Grow Cut algorithm (Harini)&lt;br /&gt;
* [[Slicer3:ChangingVersionsCheckList | update to version]] 3.6.2 (Steve)&lt;br /&gt;
* [[Slicer3:Editor_Tuning_3.6.2|Several tweaks to the Editor Module]] (Steve)&lt;br /&gt;
* Resolve EMSegmenter related bug in connection with BRAINSFit [http://na-mic.org/Mantis/view.php?id=1025 1025] (Dominique)&lt;br /&gt;
* Resolved GetReferenceSubScene bugs: [http://na-mic.org/Mantis/view.php?id=1023 1023], [http://na-mic.org/Mantis/view.php?id=1031 1031], [http://na-mic.org/Mantis/view.php?id=1031 1034], [http://na-mic.org/Mantis/view.php?id=1035 1035]&lt;br /&gt;
* Create extensions for all versions of Slicer for the release (Steve)&lt;br /&gt;
&lt;br /&gt;
==DONE: Issues included in 3.6.1 patch release - in Slicer-3-6 branch by 2010-08-03 6pm==&lt;br /&gt;
&lt;br /&gt;
* make sure all BRAINS and Registration fixes are in the 3.6 branch (Hans and Jim with help from Dominik)&lt;br /&gt;
* check for duplicate filepaths when saving data (Alex) http://www.na-mic.org/Bug/view.php?id=925&lt;br /&gt;
* tractography seeding issue (Alexy) http://www.na-mic.org/Bug/view.php?id=885: Changed Tracttography/LabelMapSeeding module: 1. added UseIndexSpace option for seeding placement. 2. Also found that IJK indexes used for traversing the label volume were floats. Changed them to doubles that may crate slightly different tracts, but it is less prone to error accumulation (Alex). &lt;br /&gt;
* Added multi-label selection to Tractography/ROISelect module (PNL request for Slicer2 compatibility, Alex)&lt;br /&gt;
* Added more scalar options to Diffusion Tensor Scalar Measurement module (PNL request for Slicer2 compatibility, Alex)&lt;br /&gt;
* [http://www.na-mic.org/Bug/view.php?id=871 fix] for Python programming tutorial (Steve, Luca)&lt;br /&gt;
* Fixes for color table preview icons showing up in node selectors (Wendy and Nicole)&lt;br /&gt;
** [http://viewvc.slicer.org/viewcvs.cgi?rev=13771&amp;amp;view=rev svn 1377]&lt;br /&gt;
* DicomToNrrd issues reported by AlexZ and Sylvain (Xiaodong)&lt;br /&gt;
* Crosshair traking modes (Jim); also see [http://na-mic.org/Mantis/view.php?id=861 bug #861]&lt;br /&gt;
* Wizard page transition error in ProstateNav. The issue was fixed by Haiying.&lt;br /&gt;
* OpenIGTLink reslice performance (Junichi) (fixed by Steve)&lt;br /&gt;
* Updated meshing module (Curt) - checked in trunk for [http://www.na-mic.org/Wiki/index.php/Slicer3:IAFEMesh_TutorialContestSummer2010|tutorial contest]; needs merge to branch if all is well.&lt;br /&gt;
* &amp;quot;Change island&amp;quot; effect of Editor is not functioning when the Scope is set to &amp;quot;all&amp;quot;&lt;br /&gt;
* Scene save/restore crash for dti tutorial (Steve/Alex). [http://viewvc.slicer.org/viewcvs.cgi?rev=14416&amp;amp;view=rev] and [http://viewvc.slicer.org/viewcvs.cgi?rev=14415&amp;amp;view=rev]&lt;br /&gt;
* brackets in filenames (Steve - fixed in trunk, migrate to branch if tests well) http://www.na-mic.org/Bug/view.php?id=851&lt;br /&gt;
* changes to avoid error messages when using single-slice volumes (Steve) - in trunk, need to move to branch&lt;br /&gt;
* Editor rounding issue [http://www.na-mic.org/Bug/view.php?id=932] (Steve) - in trunk, need to move to branch&lt;br /&gt;
* KWWidgets issue with &amp;quot;%&amp;quot; in file names produced by DICOM browser -- fixed in trunk, need to make sure propagated to 3.6 [http://na-mic.org/Mantis/view.php?id=886 bug 886] (Steve)&lt;br /&gt;
* Tractography display modes issue with Data module (FiberBundles have 3 display nodes but the Data tree has only one eye icon). (Alex) (Steve disabled the eye icon for in the Data tree for any displayable with more than one display node)&lt;br /&gt;
* Fix for crash after Save Island operation on windows (Steve) [http://viewvc.slicer.org/viewcvs.cgi?rev=14505&amp;amp;view=rev]&lt;br /&gt;
* EMSegment command line works now  with BRAINS (Kilian)&lt;br /&gt;
* Removed KWWidgets that do not work under Windows (Kilian)&lt;br /&gt;
* fixed warning for some bad image spacing geometries http://www.na-mic.org/Bug/view.php?id=951 (Steve)&lt;br /&gt;
* fixed editor error dialog when editing on rotated volumes with some geometries (Steve [http://viewvc.slicer.org/viewcvs.cgi?rev=14668&amp;amp;view=rev], [http://viewvc.slicer.org/viewcvs.cgi?rev=14667&amp;amp;view=rev])&lt;br /&gt;
* Snapshot issue [http://na-mic.org/Mantis/view.php?id=933] (Alex)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==3.6 Release issues==&lt;br /&gt;
Final punch list for [[Slicer3:3.6Release|slicer 3.6 release]]:&lt;br /&gt;
&lt;br /&gt;
'''Finalized June 10 for 3.6 binaries and [[Announcements:Slicer3.6]]''' &lt;br /&gt;
&lt;br /&gt;
*VTK GPU ray-cast clipping issue&lt;br /&gt;
**bug fix:[[http://na-mic.org/Mantis/view.php?id=800 Non axis aligned volumes]]&lt;br /&gt;
**bug fix:[[http://na-mic.org/Mantis/view.php?id=798#c1780 ROI on Non axis aligned volumes]]&lt;br /&gt;
**90% of the flickering when the camera is inside the volume is removed&lt;br /&gt;
*compare view + crosshair issue when loading a scene, the crosshair does not appear in all viewers until the slice location is changed, (Jim)&lt;br /&gt;
&lt;br /&gt;
*Picking NCI GPU Raycasting on machine that doesn't support it causes lockup. Not able to reproduce the problem (Yanling).&lt;br /&gt;
&lt;br /&gt;
Done:&lt;br /&gt;
* Remove unused color and glyph options from fiber bundle display (Alex)&lt;br /&gt;
* fiducial behavior&lt;br /&gt;
* fiducial behavior/3D viewer behavior: (Steve, Nicole, Wendy met Jun 7)&lt;br /&gt;
** saw one example of persistent place mode being stolen by pick mode. I think this has to do with inappropriate initialization of modes. It is possible for pick mode to take over until transient-pick mode is explicitly chosen. (FIXED)&lt;br /&gt;
** tractography updates not happening during drag - fixes checked into SlicerVTK and Slicer3 branch&lt;br /&gt;
** tractography updates slow when drag stops (Steve confirmed this was due to update only happening when mouse was moved after button released - made it seem extra slow)&lt;br /&gt;
**widget issues (Nicole putting fixes in [http://github.com/pieper/CTK SlicerVTK])&lt;br /&gt;
*making sure mouse-modes work same in 3D/2D (Wendy and Nicole) Let's call it DONE!&lt;br /&gt;
** done for 2d, Andras has tested it and says it's fine&lt;br /&gt;
*editor volume merge feature clarification (Steve meeting Sonia June 2, fixes committed June 3)&lt;br /&gt;
*getting BRAINS tests to pass (Hans is working on it)&lt;br /&gt;
*tracking down what is making that crash on Mac OsX when several PET volumes are loaded into Slicer (Wendy).&lt;br /&gt;
* are there extra pick operations going on?  There seems to be a delay after clicking mouse before camera begins to rotate when large models are present in scene. ''could not replicate - tried 2.5 million triangle model on slicer and paraview and performance is the same''&lt;br /&gt;
* should picking of fiducials in 3D be disabled unless user explicitly chooses 'pick mode'? ''Not a good idea to change behavior at this point''&lt;br /&gt;
** should parallel behavior be implemented in 2D for consistency? Stevie votes no, Wendy votes yes. ''Not a good idea to change behavior at this point''&lt;br /&gt;
* roundtrip to xnat desktop --OK: confirmed that Ron was using dirty files in cache; checking 'always re-download' in the Cache and DataI/O Manager GUI caused fresh download and successful load into slicer. Sometimes, even when you delete cached files thru the GUI, some applicaiton is holding on to files still there and they don't get cleared out. I'm adding a little code to check for remaining files after a ClearCache() is called; if so, we'll warn user that not all files were removed, and to select 'always re-download' to ensure proper data loading.(Wendy)&lt;br /&gt;
* view control gui: (Wendy) this guy isn't always updating anymore. He may be a casualty of multiple view nodes in the scene. He was a casualty but is fixed now! &lt;br /&gt;
*The diffusion tensor estimation module is using defaults that are not good and partially incorrect. Can the defaults be as follows:&lt;br /&gt;
**for Output DTI volume: DTI Volume&lt;br /&gt;
**for Output Baseline Volume: Baseline DTI Volume&lt;br /&gt;
**for Otsu Threshold Mask: Otsu Threshold Label Volume&lt;br /&gt;
*new default color table (Nicole and Mike)&lt;br /&gt;
** Mike working on creating a LUT from &amp;lt;strike&amp;gt;[[CCA:Atlases:Florins_2010_Hierarchy|this hierarchy]]&amp;lt;/strike&amp;gt; [[CCA:Atlases:Florins_2010_Hierarchy_Short|this subset]], by Jun 7&lt;br /&gt;
** Steve and Nicole to meet June 9 to integrate default editor color table&lt;br /&gt;
** Jun 10: checked in new color files, one from [[Slicer3:2010_GenericAnatomyColors|GenericAnatomyColors]], and one based on that but with names set to integer values and the color for 255 changed to blue. Wendy making new drop down menu icons.&lt;br /&gt;
*finishing up the DICOM file copy on remote upload, also close (Wendy) (DONE)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Issues that cannot be fixed (or aren't crucial to fix) should be listed in [[Release-notes-3.6| the slicer 3.6 release notes]].&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Modules:BRAINSFit&amp;diff=18765</id>
		<title>Modules:BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Modules:BRAINSFit&amp;diff=18765"/>
		<updated>2010-12-29T22:30:27Z</updated>

		<summary type="html">&lt;p&gt;Mscully: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Documentation-3.6|Return to Slicer 3.6 Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Announcements:Slicer3.6#Highlights|Gallery of New Features]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
===Module Name===&lt;br /&gt;
BRAINSFit&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:Before.png|thumb|280px|Before registration]]&lt;br /&gt;
|-&lt;br /&gt;
|  [[Image:After.png|thumb|280px|AfterRegistration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== General Information ==&lt;br /&gt;
===Module Type &amp;amp; Category===&lt;br /&gt;
&lt;br /&gt;
Type: CLI&lt;br /&gt;
&lt;br /&gt;
Category: Registration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Authors, Collaborators &amp;amp; Contact===&lt;br /&gt;
&lt;br /&gt;
Author: Hans J. Johnson, hans-johnson -at- uiowa.edu, http://www.psychiatry.uiowa.edu&lt;br /&gt;
&lt;br /&gt;
Contributors: Hans Johnson(1,3,4); Kent Williams(1); Gregory Harris(1), Vincent Magnotta(1,2,3);  Andriy Fedorov(5), fedorov -at- bwh.harvard.edu (Slicer integration); (1=University of Iowa Department of Psychiatry, 2=University of Iowa Department of Radiology, 3=University of Iowa Department of Biomedical Engineering, 4=University of Iowa Department of Electrical and Computer Engineering, 5=Surgical Planning Lab, Harvard)&lt;br /&gt;
&lt;br /&gt;
===Module Description===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;color:green&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|Program title || BRAINSFit&lt;br /&gt;
|-&lt;br /&gt;
|Program description || Uses the Mattes Mutual Registration algorithm to register a three-dimensional volume to a reference volume. Described in BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit, Johnson H.J., Harris G., Williams K., The Insight Journal, 2007. http://hdl.handle.net/1926/1291&lt;br /&gt;
|-&lt;br /&gt;
|Program version || 3.0.0&lt;br /&gt;
|-&lt;br /&gt;
|Program documentation-url || http://wiki.slicer.org/slicerWiki/index.php/Modules:BRAINSFit&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Insight/Examples/Registration/ImageRegistration8.cxx&lt;br /&gt;
This program is the most functional example of multi-modal 3D rigid image registration provided with ITK. ImageRegistration8 is in the Examples directory, and also sec. 8.5.3 in the ITK manual. We have modified and extended this example in several ways:&lt;br /&gt;
&lt;br /&gt;
*defined a new ITK Transform class, based on itkScaleSkewVersor3DTransform which has 3 dimensions of scale but no skew aspect.&lt;br /&gt;
*implemented a set of functions to convert between Versor Transforms and the general itk::AffineTransform and deferred converting from specific to more general representations to preserve transform information specificity as long as possible. Our Rigid transform is the narrowest, a Versor rotation plus separate translation.&lt;br /&gt;
*Added a template class itkMultiModal3DMutualRegistrationHelper which is templated over the type of ITK transform generated, and the optimizer used.&lt;br /&gt;
*Added image masks as an optional input to the Registration algorithm, limiting the volume considered during registration to voxels within the brain.&lt;br /&gt;
*Added image mask generation as an optional input to the Registration algorithm when meaningful masks such as for whole brain are not available, allowing the fit to at least be focused on whole head tissue.&lt;br /&gt;
*Added the ability to use one transform result, such as the Rigid transform, to initialize a more adaptive transform&lt;br /&gt;
*Defined the command line parameters using tools from the Slicer [ 3] program, in order to conform to the Slicer3 Execution model.&lt;br /&gt;
Added the ability to write output images in any ITK-supported scalar image format.&lt;br /&gt;
*Extensive testing as part of the BRAINS2 application suite, determined reasonable defaults for registration algorithm parameters. http://testing.psychiatry.uiowa.edu/CDash/&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The BRAINSFit distribution contains a directory named TestData, which contains two example images. The first, test.nii.gz is a NIfTI format image volume, which is used the input for the CTest-managed regression test program. The program makexfrmedImage.cxx, included in the BRAINSFit distribution was used to generate test2.nii.gz, by scaling, rotating and translating test.nii.gz. You can see representative Sagittal slices of test.nii.gz (in this case, the fixed image, test2.nii.gz (the moving image), and the two images ’checkerboarded’ together to the right. To register test2.nii.gz to test.nii.gz, you can use the following command:&lt;br /&gt;
&lt;br /&gt;
 BRAINSFit --fixedVolume test.nii.gz \&lt;br /&gt;
 --movingVolume test2.nii.gz \&lt;br /&gt;
 --outputVolume registered.nii.gz \&lt;br /&gt;
 --transformType Affine&lt;br /&gt;
A representative slice of the registered results image registered.nii.gz is to the right. You can see from the Checkerboard of the Fixed and Registered images that the fit is quite good with Affine transform-based registration. The blurring of the registered images is a consequence of the initial scaling used in generating the moving image from the fixed image, compounded by the interpolation necessitated by the transform operation.&lt;br /&gt;
&lt;br /&gt;
You can see the differences in results if you re-run BRAINSFit using Rigid, ScaleVersor3D, or ScaleSkewVersor3D as the ----transformType parameter. In this case, the authors judged Affine the best method for registering these particular two images; in the BRAINS2 automated processing pipeline, Rigid usually works well for registering research scans.&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is especially appropriate for these use cases:&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 1: Same Subject: Longitudinal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHead, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 2: Same Subject: MultiModal'''''&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same sesson.  The two images are again available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHead, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '''''Use Case 3: Mouse Registration'''''&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHead. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--===Tutorials===&lt;br /&gt;
&lt;br /&gt;
Links to tutorials explaining how to use this module:&lt;br /&gt;
&lt;br /&gt;
* Tutorial 1&lt;br /&gt;
** Data Set 1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Quick Tour of Features and Use===&lt;br /&gt;
&lt;br /&gt;
This section was partially generated with a [http://svn.slicer.org/Slicer4/trunk/Scripts/SEMToMediaWiki.py python script to convert Slicer Execution Model xml files into MediaWiki compatible documentation]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Fixed Image Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--fixedVolume&amp;lt;/span&amp;gt;] : The fixed image for registration by mutual information optimization.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Moving Image Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--movingVolume&amp;lt;/span&amp;gt;] : The moving image for registration by mutual information optimization.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Registration phases to use'''''&amp;lt;/span&amp;gt;: Parameters that define which registration steps to use.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Initialize with previously generated transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--initialTransform&amp;lt;/span&amp;gt;] : Filename of transform used to initialize the registration.  This CAN NOT be used with either CenterOfHeadLAlign, MomentsAlign, GeometryAlign, or initialTransform file.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Intitialze Transform Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--initializeTransformMode&amp;lt;/span&amp;gt;] : Determine how to initialize the transform center.  GeometryAlign on assumes that the center of the voxel lattice of the images represent similar structures.  MomentsAlign assumes that the center of mass of the images represent similar structures.  useCenterOfHeadAlign attempts to use the top of head and shape of neck to drive a center of mass estimate.  Off assumes that the physical space of the images are close, and that centering in terms of the image Origins is a good starting point.  This flag is mutually exclusive with the initialTransform flag. ''Default value: Off''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include Rigid registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useRigid&amp;lt;/span&amp;gt;] : Perform a rigid registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include ScaleVersor3D registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useScaleVersor3D&amp;lt;/span&amp;gt;] : Perform a ScaleVersor3D registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include ScaleSkewVersor3D registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useScaleSkewVersor3D&amp;lt;/span&amp;gt;] : Perform a ScaleSkewVersor3D registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include Affine registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useAffine&amp;lt;/span&amp;gt;] : Perform an Affine registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include BSpline registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useBSpline&amp;lt;/span&amp;gt;] : Perform a BSpline registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Output Settings (At least one output must be specified.)'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Slicer BSpline Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--bsplineTransform&amp;lt;/span&amp;gt;] : (optional) Filename to which save the estimated transform. NOTE: You must set at least one output object (either a deformed image or a transform.  NOTE: USE THIS ONLY IF THE FINAL TRANSFORM IS BSpline&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Slicer Linear Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--linearTransform&amp;lt;/span&amp;gt;] : (optional) Filename to which save the estimated transform. NOTE: You must set at least one output object (either a deformed image or a transform.  NOTE: USE THIS ONLY IF THE FINAL TRANSFORM IS ---NOT--- BSpline&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputTransform&amp;lt;/span&amp;gt;] : (optional) Filename to which save the (optional) estimated transform. NOTE: You must select either the outputTransform or the outputVolume option.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Image Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputVolume&amp;lt;/span&amp;gt;] : (optional) Output image for registration. NOTE: You must select either the outputTransform or the outputVolume option.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Image Pixel Type'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputVolumePixelType&amp;lt;/span&amp;gt;] : The output image Pixel Type is the scalar datatype for representation of the Output Volume. ''Default value: float''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Registration Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Transform Type'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--transformType&amp;lt;/span&amp;gt;] : Specifies a list of registration types to be used.  The valid types are, Rigid, ScaleVersor3D, ScaleSkewVersor3D, Affine, and BSpline.  Specifiying more than one in a comma separated list will initialize the next stage with the previous results. If registrationClass flag is used, it overrides this parameter setting.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number Of Iterations'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfIterations&amp;lt;/span&amp;gt;] : The maximum number of iterations to try before failing to converge.  Use an explicit limit like 500 or 1000 to manage risk of divergence ''Default value: 1500''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number Of Samples'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfSamples&amp;lt;/span&amp;gt;] : The number of voxels sampled for mutual information computation.  Increase this for a slower, more careful fit.  You can also limit the sampling focus with ROI masks and ROIAUTO mask generation. ''Default value: 100000''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Minimum Step Length'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--minimumStepLength&amp;lt;/span&amp;gt;] : Each step in the optimization takes steps at least this big.  When none are possible, registration is complete. ''Default value: 0.005''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Transform Scale'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--translationScale&amp;lt;/span&amp;gt;] : How much to scale up changes in position compared to unit rotational changes in radians -- decrease this to put more rotation in the search pattern. ''Default value: 1000.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Reproportion Scale'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--reproportionScale&amp;lt;/span&amp;gt;] : ScaleVersor3D 'Scale' compensation factor.  Increase this to put more rescaling in a ScaleVersor3D or ScaleSkewVersor3D search pattern.  1.0 works well with a translationScale of 1000.0 ''Default value: 1.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Skew Scale'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--skewScale&amp;lt;/span&amp;gt;] : ScaleSkewVersor3D Skew compensation factor.  Increase this to put more skew in a ScaleSkewVersor3D search pattern.  1.0 works well with a translationScale of 1000.0 ''Default value: 1.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number Of Grid Subdivisions'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--splineGridSize&amp;lt;/span&amp;gt;] : The number of subdivisions of the BSpline Grid to be centered on the image space.  Each dimension must have at least 3 subdivisions for the BSpline to be correctly computed.  ''Default value: 14,10,12''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Maximum B-Spline Displacement'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maxBSplineDisplacement&amp;lt;/span&amp;gt;] :  Sets the maximum allowed displacements in image physical coordinates for BSpline control grid along each axis.  A value of 0.0 indicates that the problem should be unbounded.  NOTE:  This only constrains the BSpline portion, and does not limit the displacement from the associated bulk transform.  This can lead to a substantial reduction in computation time in the BSpline optimizer. ''Default value: 0.0''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Advanced Output Settings'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Stripped Output Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--strippedOutputTransform&amp;lt;/span&amp;gt;] : File name for the rigid component of the estimated affine transform. Can be used to rigidly register the moving image to the fixed image. NOTE:  This value is overwritten if either bsplineTransform or linearTransform is set.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Background Fill Value'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--backgroundFillValue&amp;lt;/span&amp;gt;] : Background fill value for output image. ''Default value: 0.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Inferior Cut Off From Center'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maskInferiorCutOffFromCenter&amp;lt;/span&amp;gt;] : For use with --useCenterOfHeadAlign (and --maskProcessingMode ROIAUTO): the cut-off below the image centers, in millimeters,  ''Default value: 1000.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Scale Output Values'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--scaleOutputValues&amp;lt;/span&amp;gt;] : If true, and the voxel values do not fit within the minimum and maximum values of the desired outputVolumePixelType, then linearly scale the min/max output image voxel values to fit within the min/max range of the outputVolumePixelType. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Interpolation Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--interpolationMode&amp;lt;/span&amp;gt;] : Type of interpolation to be used when applying transform to moving volume.  Options are Linear, NearestNeighbor, BSpline, WindowedSinc, or RigidInPlace.  The RigidInPlace option will create an image with the same discrete voxel values and will adjust the origin and direction of the physical space interpretation. ''Default value: Linear''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Control of Mask Processing'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Mask Processing Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maskProcessingMode&amp;lt;/span&amp;gt;] : What mode to use for using the masks.  If ROIAUTO is choosen, then the mask is implicitly defined using a otsu forground and hole filling algorithm. The Region Of Interest mode (choose ROI) uses the masks to define what parts of the image should be used for computing the transform. ''Default value: NOMASK''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Fixed Mask (ROIAUTO only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputFixedVolumeROI&amp;lt;/span&amp;gt;] : The ROI automatically found in fixed image.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Moving Mask (ROIAUTO only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputMovingVolumeROI&amp;lt;/span&amp;gt;] : The ROI automatically found in moving image.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Fixed Mask (ROI only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--fixedBinaryVolume&amp;lt;/span&amp;gt;] : Fixed Image binary mask volume.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Moving Mask (ROI only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--movingBinaryVolume&amp;lt;/span&amp;gt;] : Moving Image binary mask volume.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Special Input Image Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Fixed Image Time Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--fixedVolumeTimeIndex&amp;lt;/span&amp;gt;] : The index in the time series for the 3D fixed image to fit, if 4-dimensional. ''Default value: 0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Moving Image Time Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--movingVolumeTimeIndex&amp;lt;/span&amp;gt;] : The index in the time series for the 3D moving image to fit, if 4-dimensional. ''Default value: 0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Median Filter Size'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--medianFilterSize&amp;lt;/span&amp;gt;] : The radius for the optional MedianImageFilter preprocessing in all 3 directions. ''Default value: 0,0,0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Histogram Match'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--histogramMatch&amp;lt;/span&amp;gt;] [&amp;lt;span style=&amp;quot;color:pink&amp;quot;&amp;gt;-e&amp;lt;/span&amp;gt;]: Histogram Match the input images.  This is suitable for images of the same modality that may have different absolute scales, but the same overall intensity profile. Do NOT use if registering images from different modailties. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number of Histogram Bins'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfHistogramBins&amp;lt;/span&amp;gt;] : The number of histogram levels ''Default value: 50''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number of Match Points'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfMatchPoints&amp;lt;/span&amp;gt;] : the number of match points ''Default value: 10''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Registration Debugging Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Caching BSpline Weights Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useCachingOfBSplineWeightsMode&amp;lt;/span&amp;gt;] : This is a 5x speed advantage at the expense of requiring much more memory.  Only relevant when transformType is BSpline. ''Default value: ON''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Explicit PDF Derivatives Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useExplicitPDFDerivativesMode&amp;lt;/span&amp;gt;] : Using mode AUTO means OFF for BSplineDeformableTransforms and ON for the linear transforms.  The ON alternative uses more memory to sometimes do a better job. ''Default value: AUTO''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;''' ROIAuto Dilate Size'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--ROIAutoDilateSize&amp;lt;/span&amp;gt;] : This flag is only relavent when using ROIAUTO mode for initializing masks.  It defines the final dilation size to capture a bit of background outside the tissue region.  At setting of 10mm has been shown to help regularize a BSpline registration type so that there is some background constraints to match the edges of the head better. ''Default value: 0.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;''' ROIAuto Closing Size'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--ROIAutoClosingSize&amp;lt;/span&amp;gt;] : This flag is only relavent when using ROIAUTO mode for initializing masks.  It defines the hole closing size in mm.  It is rounded up to the nearest whole pixel size in each direction. The default is to use a closing size of 9mm.  For mouse data this value may need to be reset to 0.9 or smaller. ''Default value: 9.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Relaxation Factor'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--relaxationFactor&amp;lt;/span&amp;gt;] : Internal debugging parameter, and should probably never be used from the command line.  This will be removed in the future. ''Default value: 0.5''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Maximum Step Length'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maximumStepLength&amp;lt;/span&amp;gt;] : Internal debugging parameter, and should probably never be used from the command line.  This will be removed in the future. ''Default value: 0.2''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Failure Exit Code'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--failureExitCode&amp;lt;/span&amp;gt;] : If the fit fails, exit with this status code.  (It can be used to force a successfult exit status of (0) if the registration fails due to reaching the maximum number of iterations. ''Default value: -1''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Write Transform On Failure'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--writeTransformOnFailure&amp;lt;/span&amp;gt;] : Flag to save the final transform even if the numberOfIterations are reached without convergence. (Intended for use when --failureExitCode 0 ) ''Default value: 0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''debugNumberOfThreads'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--debugNumberOfThreads&amp;lt;/span&amp;gt;] : Explicitly specify the maximum number of threads to use. ''Default value: -1''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Debug option'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--debugLevel&amp;lt;/span&amp;gt;] : Display debug messages, and produce debug intermediate results.  0=OFF, 1=Minimal, 10=Maximum debugging. ''Default value: 0''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Risky Expert-only Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''DO NOT USE'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--NEVER_USE_THIS_FLAG_IT_IS_OUTDATED_00&amp;lt;/span&amp;gt;] : DO NOT USE THIS FLAG ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''DO NOT USE'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--NEVER_USE_THIS_FLAG_IT_IS_OUTDATED_01&amp;lt;/span&amp;gt;] : DO NOT USE THIS FLAG ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''DO NOT USE'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--NEVER_USE_THIS_FLAG_IT_IS_OUTDATED_02&amp;lt;/span&amp;gt;] : DO NOT USE THIS FLAG ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Selective Permission for Transform Parameters to Vary'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--permitParameterVariation&amp;lt;/span&amp;gt;] : A bit vector to permit linear transform parameters to vary under optimization.  The vector order corresponds with transform parameters, and beyond the end ones fill in as a default.  For instance, you can choose to rotate only in x (pitch) with 1,0,0;  this is mostly for expert use in turning on and off individual degrees of freedom in rotation, translation or scaling without multiplying the number of transform representations; this trick is probably meaningless when tried with the general affine transform.=&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Cost Metric'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--costMetric&amp;lt;/span&amp;gt;] : The cost metric to be used during fitting. Defaults to MMI. Options are MMI (Mattes Mutual Information), MSE (Mean Square Error), NC (Normalized Correlation), MC (Match Cardinality for binary images) ''Default value: MMI''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
||[[Image:BRAINSFitUI_part1.png|thumb|280px|User Interface]] [[Image:BRAINSFitUI_part2.png|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
&lt;br /&gt;
===Notes from the Developer(s)===&lt;br /&gt;
&lt;br /&gt;
This is a thin wrapper program around the BRAINSFitHelper class in BRAINSCommonLib.  The BRAINSFitHelper class&lt;br /&gt;
is intended to allow all the functionality of BRAINSFit to be easily incorporated into another program by including a single header file, linking against the BRAINSCommonLib library, and adding code similar to the following to your application:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    typedef itk::BRAINSFitHelper HelperType;&lt;br /&gt;
    HelperType::Pointer myHelper=HelperType::New();&lt;br /&gt;
    myHelper-&amp;gt;SetTransformType(localTransformType);&lt;br /&gt;
    myHelper-&amp;gt;SetFixedVolume(extractFixedVolume);&lt;br /&gt;
    myHelper-&amp;gt;SetMovingVolume(extractMovingVolume);&lt;br /&gt;
    myHelper-&amp;gt;StartRegistration();&lt;br /&gt;
    currentGenericTransform=myHelper-&amp;gt;GetCurrentGenericTransform();&lt;br /&gt;
    MovingVolumeType::ConstPointer preprocessedMovingVolume = myHelper-&amp;gt;GetPreprocessedMovingVolume();&lt;br /&gt;
&lt;br /&gt;
/*  Optional member functions that can also be set */&lt;br /&gt;
    myHelper-&amp;gt;SetHistogramMatch(histogramMatch);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfMatchPoints(numberOfMatchPoints);&lt;br /&gt;
    myHelper-&amp;gt;SetFixedBinaryVolume(fixedMask);&lt;br /&gt;
    myHelper-&amp;gt;SetMovingBinaryVolume(movingMask);&lt;br /&gt;
    myHelper-&amp;gt;SetPermitParameterVariation(permitParameterVariation);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfSamples(numberOfSamples);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfHistogramBins(numberOfHistogramBins);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfIterations(numberOfIterations);&lt;br /&gt;
    myHelper-&amp;gt;SetMaximumStepLength(maximumStepSize);&lt;br /&gt;
    myHelper-&amp;gt;SetMinimumStepLength(minimumStepSize);&lt;br /&gt;
    myHelper-&amp;gt;SetRelaxationFactor(relaxationFactor);&lt;br /&gt;
    myHelper-&amp;gt;SetTranslationScale(translationScale);&lt;br /&gt;
    myHelper-&amp;gt;SetReproportionScale(reproportionScale);&lt;br /&gt;
    myHelper-&amp;gt;SetSkewScale(skewScale);&lt;br /&gt;
    myHelper-&amp;gt;SetUseExplicitPDFDerivativesMode(useExplicitPDFDerivativesMode);&lt;br /&gt;
    myHelper-&amp;gt;SetUseCachingOfBSplineWeightsMode(useCachingOfBSplineWeightsMode);&lt;br /&gt;
    myHelper-&amp;gt;SetBackgroundFillValue(backgroundFillValue);&lt;br /&gt;
    myHelper-&amp;gt;SetInitializeTransformMode(localInitializeTransformMode);&lt;br /&gt;
    myHelper-&amp;gt;SetMaskInferiorCutOffFromCenter(maskInferiorCutOffFromCenter);&lt;br /&gt;
    myHelper-&amp;gt;SetCurrentGenericTransform(currentGenericTransform);&lt;br /&gt;
    myHelper-&amp;gt;SetSplineGridSize(splineGridSize);&lt;br /&gt;
    myHelper-&amp;gt;SetCostFunctionConvergenceFactor(costFunctionConvergenceFactor);&lt;br /&gt;
    myHelper-&amp;gt;SetProjectedGradientTolerance(projectedGradientTolerance);&lt;br /&gt;
    myHelper-&amp;gt;SetMaxBSplineDisplacement(maxBSplineDisplacement);&lt;br /&gt;
    myHelper-&amp;gt;SetDisplayDeformedImage(UseDebugImageViewer);&lt;br /&gt;
    myHelper-&amp;gt;SetPromptUserAfterDisplay(PromptAfterImageSend);&lt;br /&gt;
    myHelper-&amp;gt;SetDebugLevel(debugLevel);&lt;br /&gt;
    if(debugLevel &amp;gt; 7 )&lt;br /&gt;
      {&lt;br /&gt;
      myHelper-&amp;gt;PrintCommandLine(true,&amp;quot;BF&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
BRAINSFit depends on Slicer3 (for the SlicerExecutionModel support) and ITK.&lt;br /&gt;
BRAINSFit depends on the BRAINSCommonLib library&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
&lt;br /&gt;
Nightly testing of the development head can be found at: http://testing.psychiatry.uiowa.edu/CDash&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
Links to known bugs and feature requests are listed at:&lt;br /&gt;
* http://www.nitrc.org/projects/multimodereg/&lt;br /&gt;
&lt;br /&gt;
===Usability issues===&lt;br /&gt;
&lt;br /&gt;
Follow this [http://na-mic.org/Mantis/main_page.php link] to the Slicer3 bug tracker. Please select the '''usability issue category''' when browsing or contributing.&lt;br /&gt;
&lt;br /&gt;
===Source code &amp;amp; documentation===&lt;br /&gt;
&lt;br /&gt;
Links to the module's source code:&lt;br /&gt;
&lt;br /&gt;
Source code:&lt;br /&gt;
*[http://www.nitrc.org/projects/multimodereg/|Hosted by NITRC ]&lt;br /&gt;
&lt;br /&gt;
== More Information == &lt;br /&gt;
&lt;br /&gt;
===Acknowledgment===&lt;br /&gt;
&lt;br /&gt;
This research was supported by funding from grants NS050568 and NS40068 from the National Institute of Neurological Disorders and Stroke and grants MH31593, MH40856, from the National Institute of Mental Health.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Modules:BRAINSFit&amp;diff=18764</id>
		<title>Modules:BRAINSFit</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Modules:BRAINSFit&amp;diff=18764"/>
		<updated>2010-12-29T22:28:22Z</updated>

		<summary type="html">&lt;p&gt;Mscully: /* Use Cases, Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Documentation-3.6|Return to Slicer 3.6 Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Announcements:Slicer3.6#Highlights|Gallery of New Features]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
===Module Name===&lt;br /&gt;
BRAINSFit&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:Before.png|thumb|280px|Before registration]]&lt;br /&gt;
|-&lt;br /&gt;
|  [[Image:After.png|thumb|280px|AfterRegistration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== General Information ==&lt;br /&gt;
===Module Type &amp;amp; Category===&lt;br /&gt;
&lt;br /&gt;
Type: CLI&lt;br /&gt;
&lt;br /&gt;
Category: Registration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Authors, Collaborators &amp;amp; Contact===&lt;br /&gt;
&lt;br /&gt;
Author: Hans J. Johnson, hans-johnson -at- uiowa.edu, http://www.psychiatry.uiowa.edu&lt;br /&gt;
&lt;br /&gt;
Contributors: Hans Johnson(1,3,4); Kent Williams(1); Gregory Harris(1), Vincent Magnotta(1,2,3);  Andriy Fedorov(5), fedorov -at- bwh.harvard.edu (Slicer integration); (1=University of Iowa Department of Psychiatry, 2=University of Iowa Department of Radiology, 3=University of Iowa Department of Biomedical Engineering, 4=University of Iowa Department of Electrical and Computer Engineering, 5=Surgical Planning Lab, Harvard)&lt;br /&gt;
&lt;br /&gt;
===Module Description===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;color:green&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|Program title || BRAINSFit&lt;br /&gt;
|-&lt;br /&gt;
|Program description || Uses the Mattes Mutual Registration algorithm to register a three-dimensional volume to a reference volume. Described in BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit, Johnson H.J., Harris G., Williams K., The Insight Journal, 2007. http://hdl.handle.net/1926/1291&lt;br /&gt;
|-&lt;br /&gt;
|Program version || 3.0.0&lt;br /&gt;
|-&lt;br /&gt;
|Program documentation-url || http://wiki.slicer.org/slicerWiki/index.php/Modules:BRAINSFit&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Insight/Examples/Registration/ImageRegistration8.cxx&lt;br /&gt;
This program is the most functional example of multi-modal 3D rigid image registration provided with ITK. ImageRegistration8 is in the Examples directory, and also sec. 8.5.3 in the ITK manual. We have modified and extended this example in several ways:&lt;br /&gt;
&lt;br /&gt;
*defined a new ITK Transform class, based on itkScaleSkewVersor3DTransform which has 3 dimensions of scale but no skew aspect.&lt;br /&gt;
*implemented a set of functions to convert between Versor Transforms and the general itk::AffineTransform and deferred converting from specific to more general representations to preserve transform information specificity as long as possible. Our Rigid transform is the narrowest, a Versor rotation plus separate translation.&lt;br /&gt;
*Added a template class itkMultiModal3DMutualRegistrationHelper which is templated over the type of ITK transform generated, and the optimizer used.&lt;br /&gt;
*Added image masks as an optional input to the Registration algorithm, limiting the volume considered during registration to voxels within the brain.&lt;br /&gt;
*Added image mask generation as an optional input to the Registration algorithm when meaningful masks such as for whole brain are not available, allowing the fit to at least be focused on whole head tissue.&lt;br /&gt;
*Added the ability to use one transform result, such as the Rigid transform, to initialize a more adaptive transform&lt;br /&gt;
*Defined the command line parameters using tools from the Slicer [ 3] program, in order to conform to the Slicer3 Execution model.&lt;br /&gt;
Added the ability to write output images in any ITK-supported scalar image format.&lt;br /&gt;
*Extensive testing as part of the BRAINS2 application suite, determined reasonable defaults for registration algorithm parameters. http://testing.psychiatry.uiowa.edu/CDash/&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The BRAINSFit distribution contains a directory named TestData, which contains two example images. The first, test.nii.gz is a NIfTI format image volume, which is used the input for the CTest-managed regression test program. The program makexfrmedImage.cxx, included in the BRAINSFit distribution was used to generate test2.nii.gz, by scaling, rotating and translating test.nii.gz. You can see representative Sagittal slices of test.nii.gz (in this case, the fixed image, test2.nii.gz (the moving image), and the two images ’checkerboarded’ together to the right. To register test2.nii.gz to test.nii.gz, you can use the following command:&lt;br /&gt;
&lt;br /&gt;
 BRAINSFit --fixedVolume test.nii.gz \&lt;br /&gt;
 --movingVolume test2.nii.gz \&lt;br /&gt;
 --outputVolume registered.nii.gz \&lt;br /&gt;
 --transformType Affine&lt;br /&gt;
A representative slice of the registered results image registered.nii.gz is to the right. You can see from the Checkerboard of the Fixed and Registered images that the fit is quite good with Affine transform-based registration. The blurring of the registered images is a consequence of the initial scaling used in generating the moving image from the fixed image, compounded by the interpolation necessitated by the transform operation.&lt;br /&gt;
&lt;br /&gt;
You can see the differences in results if you re-run BRAINSFit using Rigid, ScaleVersor3D, or ScaleSkewVersor3D as the ----transformType parameter. In this case, the authors judged Affine the best method for registering these particular two images; in the BRAINS2 automated processing pipeline, Rigid usually works well for registering research scans.&lt;br /&gt;
===Use Cases, Examples===&lt;br /&gt;
&lt;br /&gt;
This module is especially appropriate for these use cases:&lt;br /&gt;
&lt;br /&gt;
* Use Case 1: Same Subject: Longitudinal&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a baseline T1 scan with a follow-up T1 scan on the same subject a year later.  The two images are again available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory as testT1.nii.gz and testT1Longitudinal.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject and very little has likely changed in the last year we'll use a Rigid registration.  If the registration is poor or there are reasons to expect anatomical changes then additional transforms may be needed, in which case they can be added in a comma separated list, such as &amp;quot;Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch to match the intensity profiles as this tends to help registration.  If there are lesions or tumors that vary between images this may not be a good idea, as it will make it harder to detect differences between the images.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHead, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT1Longitudinal.nii.gz \&lt;br /&gt;
--outputVolume testT1LongRegFixed.nii.gz \&lt;br /&gt;
--outputTransform longToBase.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:LongitudinalCheckerboardPreReg.png|thumb|180px|Longitudinal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:LogitudinalCheckerboardPostReg.png|thumb|180px|Longitudinal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Use Case 2: Same Subject: MultiModal&lt;br /&gt;
&lt;br /&gt;
For this use case we're registering a T1 scan with a T2 scan collected in the same sesson.  The two images are again available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory as testT1.nii.gz and testT2.nii.gz&lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since these are the same subject, same session we'll use a Rigid registration.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are different modalities so we absolutely DO NOT want to use --histogramMatch to match the intensity profiles as this would try to map the T2 intensities into T1 intensities, resulting in an image that was neither, and hence useless.&lt;br /&gt;
&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode. We're working with human heads so we pick useCenterOfHead, which detects the center of head even with varying amounts of neck or shoulders present.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The registration generally performs better if we include some background in the mask that way the tissue boundary is very clear.  The parameter that expands the mask outside the brain is ROIAutoDilateSize (under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value is 3.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume testT1.nii.gz \&lt;br /&gt;
--movingVolume testT2.nii.gz \&lt;br /&gt;
--outputVolume testT2RegT1.nii.gz \&lt;br /&gt;
--outputTransform T2ToT1.xform \&lt;br /&gt;
--transformType Rigid \&lt;br /&gt;
--initializeTransformMode useCenterOfHead \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoDilateSize 3 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:T1T2PreRegCheckerboard.png|thumb|180px|Multimodal Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:T1T2RegCheckerboard.png|thumb|180px|Multimodal Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Use Case 3: Mouse Registration&lt;br /&gt;
&lt;br /&gt;
Here we'll register brains from two different mice together.  The fixed and moving mouse brains used in this example are available in the Slicer3/Applications/CLI/BRAINSTools/BRAINSCommonLib/TestData directory. &lt;br /&gt;
&lt;br /&gt;
First we set the fixed and moving volumes as well as the output transform and output volume names.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the subjects are different we are going to use transforms all the way through BSpline. Again, building up transforms one type at a time can't hurt and might help, so we're including all transforms from Rigid through BSpline in the transformType parameter.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The scans are the same modality so we'll use --histogramMatch.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To start with the best possible initial alignment we use --initializeTransformMode but we are't working with human heads so we can't pick useCenterOfHead. Instead we pick useMomentsAlign which does a reasonable job of selecting the centers of mass.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ROI masks normally improve registration but we haven't generated any so we turn on --maskProcessingMode ROIAUTO.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Since the mouse brains are much smaller than human brains there are a few advanced parameters we'll need to tweak, ROIAutoClosingSize and ROIAutoDilateSize (both under Registration Debugging Parameters if using the GUI).  These values are in millimeters so a good starting value for mice is 0.9.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last we set the interpolation mode to be Linear, which is a decent tradeoff between quality and speed.  If the best possible interpolation is needed regardless of processing time, select WindowedSync instead of linear.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BRAINSFit --fixedVolume mouseFixed.nii.gz \&lt;br /&gt;
--movingVolume mouseMoving.nii.gz \&lt;br /&gt;
--outputVolume movingRegFixed.nii.gz \&lt;br /&gt;
--outputTransform movingToFixed.xform \&lt;br /&gt;
--transformType Rigid,ScaleVersor3D,ScaleSkewVersor3D,Affine,BSpline \&lt;br /&gt;
--histogramMatch \&lt;br /&gt;
--initializeTransformMode useMomentsAlign \&lt;br /&gt;
--maskProcessingMode ROIAUTO \&lt;br /&gt;
--ROIAutoClosingSize 0.9 \&lt;br /&gt;
--ROIAutoDilateSize 0.9 \&lt;br /&gt;
--interpolationMode Linear&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|  [[Image:MouseCheckerboardPreRegistration.png|thumb|180px|Mouse Checkerboard Before registration]]&lt;br /&gt;
|  [[Image:MouseCheckerboardPostRegistration.png|thumb|180px|Mouse Checkerboard After registration]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--===Tutorials===&lt;br /&gt;
&lt;br /&gt;
Links to tutorials explaining how to use this module:&lt;br /&gt;
&lt;br /&gt;
* Tutorial 1&lt;br /&gt;
** Data Set 1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Quick Tour of Features and Use===&lt;br /&gt;
&lt;br /&gt;
This section was partially generated with a [http://svn.slicer.org/Slicer4/trunk/Scripts/SEMToMediaWiki.py python script to convert Slicer Execution Model xml files into MediaWiki compatible documentation]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Input Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Fixed Image Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--fixedVolume&amp;lt;/span&amp;gt;] : The fixed image for registration by mutual information optimization.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Moving Image Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--movingVolume&amp;lt;/span&amp;gt;] : The moving image for registration by mutual information optimization.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Registration phases to use'''''&amp;lt;/span&amp;gt;: Parameters that define which registration steps to use.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Initialize with previously generated transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--initialTransform&amp;lt;/span&amp;gt;] : Filename of transform used to initialize the registration.  This CAN NOT be used with either CenterOfHeadLAlign, MomentsAlign, GeometryAlign, or initialTransform file.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Intitialze Transform Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--initializeTransformMode&amp;lt;/span&amp;gt;] : Determine how to initialize the transform center.  GeometryAlign on assumes that the center of the voxel lattice of the images represent similar structures.  MomentsAlign assumes that the center of mass of the images represent similar structures.  useCenterOfHeadAlign attempts to use the top of head and shape of neck to drive a center of mass estimate.  Off assumes that the physical space of the images are close, and that centering in terms of the image Origins is a good starting point.  This flag is mutually exclusive with the initialTransform flag. ''Default value: Off''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include Rigid registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useRigid&amp;lt;/span&amp;gt;] : Perform a rigid registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include ScaleVersor3D registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useScaleVersor3D&amp;lt;/span&amp;gt;] : Perform a ScaleVersor3D registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include ScaleSkewVersor3D registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useScaleSkewVersor3D&amp;lt;/span&amp;gt;] : Perform a ScaleSkewVersor3D registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include Affine registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useAffine&amp;lt;/span&amp;gt;] : Perform an Affine registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Include BSpline registration phase'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useBSpline&amp;lt;/span&amp;gt;] : Perform a BSpline registration as part of the sequential registration steps.  This family of options superceeds the use of transformType if any of them are set. ''Default value: false''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Output Settings (At least one output must be specified.)'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Slicer BSpline Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--bsplineTransform&amp;lt;/span&amp;gt;] : (optional) Filename to which save the estimated transform. NOTE: You must set at least one output object (either a deformed image or a transform.  NOTE: USE THIS ONLY IF THE FINAL TRANSFORM IS BSpline&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Slicer Linear Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--linearTransform&amp;lt;/span&amp;gt;] : (optional) Filename to which save the estimated transform. NOTE: You must set at least one output object (either a deformed image or a transform.  NOTE: USE THIS ONLY IF THE FINAL TRANSFORM IS ---NOT--- BSpline&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputTransform&amp;lt;/span&amp;gt;] : (optional) Filename to which save the (optional) estimated transform. NOTE: You must select either the outputTransform or the outputVolume option.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Image Volume'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputVolume&amp;lt;/span&amp;gt;] : (optional) Output image for registration. NOTE: You must select either the outputTransform or the outputVolume option.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Image Pixel Type'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputVolumePixelType&amp;lt;/span&amp;gt;] : The output image Pixel Type is the scalar datatype for representation of the Output Volume. ''Default value: float''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Registration Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Transform Type'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--transformType&amp;lt;/span&amp;gt;] : Specifies a list of registration types to be used.  The valid types are, Rigid, ScaleVersor3D, ScaleSkewVersor3D, Affine, and BSpline.  Specifiying more than one in a comma separated list will initialize the next stage with the previous results. If registrationClass flag is used, it overrides this parameter setting.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number Of Iterations'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfIterations&amp;lt;/span&amp;gt;] : The maximum number of iterations to try before failing to converge.  Use an explicit limit like 500 or 1000 to manage risk of divergence ''Default value: 1500''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number Of Samples'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfSamples&amp;lt;/span&amp;gt;] : The number of voxels sampled for mutual information computation.  Increase this for a slower, more careful fit.  You can also limit the sampling focus with ROI masks and ROIAUTO mask generation. ''Default value: 100000''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Minimum Step Length'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--minimumStepLength&amp;lt;/span&amp;gt;] : Each step in the optimization takes steps at least this big.  When none are possible, registration is complete. ''Default value: 0.005''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Transform Scale'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--translationScale&amp;lt;/span&amp;gt;] : How much to scale up changes in position compared to unit rotational changes in radians -- decrease this to put more rotation in the search pattern. ''Default value: 1000.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Reproportion Scale'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--reproportionScale&amp;lt;/span&amp;gt;] : ScaleVersor3D 'Scale' compensation factor.  Increase this to put more rescaling in a ScaleVersor3D or ScaleSkewVersor3D search pattern.  1.0 works well with a translationScale of 1000.0 ''Default value: 1.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Skew Scale'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--skewScale&amp;lt;/span&amp;gt;] : ScaleSkewVersor3D Skew compensation factor.  Increase this to put more skew in a ScaleSkewVersor3D search pattern.  1.0 works well with a translationScale of 1000.0 ''Default value: 1.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number Of Grid Subdivisions'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--splineGridSize&amp;lt;/span&amp;gt;] : The number of subdivisions of the BSpline Grid to be centered on the image space.  Each dimension must have at least 3 subdivisions for the BSpline to be correctly computed.  ''Default value: 14,10,12''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Maximum B-Spline Displacement'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maxBSplineDisplacement&amp;lt;/span&amp;gt;] :  Sets the maximum allowed displacements in image physical coordinates for BSpline control grid along each axis.  A value of 0.0 indicates that the problem should be unbounded.  NOTE:  This only constrains the BSpline portion, and does not limit the displacement from the associated bulk transform.  This can lead to a substantial reduction in computation time in the BSpline optimizer. ''Default value: 0.0''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Advanced Output Settings'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Stripped Output Transform'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--strippedOutputTransform&amp;lt;/span&amp;gt;] : File name for the rigid component of the estimated affine transform. Can be used to rigidly register the moving image to the fixed image. NOTE:  This value is overwritten if either bsplineTransform or linearTransform is set.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Background Fill Value'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--backgroundFillValue&amp;lt;/span&amp;gt;] : Background fill value for output image. ''Default value: 0.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Inferior Cut Off From Center'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maskInferiorCutOffFromCenter&amp;lt;/span&amp;gt;] : For use with --useCenterOfHeadAlign (and --maskProcessingMode ROIAUTO): the cut-off below the image centers, in millimeters,  ''Default value: 1000.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Scale Output Values'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--scaleOutputValues&amp;lt;/span&amp;gt;] : If true, and the voxel values do not fit within the minimum and maximum values of the desired outputVolumePixelType, then linearly scale the min/max output image voxel values to fit within the min/max range of the outputVolumePixelType. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Interpolation Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--interpolationMode&amp;lt;/span&amp;gt;] : Type of interpolation to be used when applying transform to moving volume.  Options are Linear, NearestNeighbor, BSpline, WindowedSinc, or RigidInPlace.  The RigidInPlace option will create an image with the same discrete voxel values and will adjust the origin and direction of the physical space interpretation. ''Default value: Linear''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Control of Mask Processing'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Mask Processing Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maskProcessingMode&amp;lt;/span&amp;gt;] : What mode to use for using the masks.  If ROIAUTO is choosen, then the mask is implicitly defined using a otsu forground and hole filling algorithm. The Region Of Interest mode (choose ROI) uses the masks to define what parts of the image should be used for computing the transform. ''Default value: NOMASK''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Fixed Mask (ROIAUTO only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputFixedVolumeROI&amp;lt;/span&amp;gt;] : The ROI automatically found in fixed image.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Output Moving Mask (ROIAUTO only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--outputMovingVolumeROI&amp;lt;/span&amp;gt;] : The ROI automatically found in moving image.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Fixed Mask (ROI only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--fixedBinaryVolume&amp;lt;/span&amp;gt;] : Fixed Image binary mask volume.&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Input Moving Mask (ROI only)'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--movingBinaryVolume&amp;lt;/span&amp;gt;] : Moving Image binary mask volume.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Special Input Image Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Fixed Image Time Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--fixedVolumeTimeIndex&amp;lt;/span&amp;gt;] : The index in the time series for the 3D fixed image to fit, if 4-dimensional. ''Default value: 0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Moving Image Time Index'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--movingVolumeTimeIndex&amp;lt;/span&amp;gt;] : The index in the time series for the 3D moving image to fit, if 4-dimensional. ''Default value: 0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Median Filter Size'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--medianFilterSize&amp;lt;/span&amp;gt;] : The radius for the optional MedianImageFilter preprocessing in all 3 directions. ''Default value: 0,0,0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Histogram Match'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--histogramMatch&amp;lt;/span&amp;gt;] [&amp;lt;span style=&amp;quot;color:pink&amp;quot;&amp;gt;-e&amp;lt;/span&amp;gt;]: Histogram Match the input images.  This is suitable for images of the same modality that may have different absolute scales, but the same overall intensity profile. Do NOT use if registering images from different modailties. ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number of Histogram Bins'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfHistogramBins&amp;lt;/span&amp;gt;] : The number of histogram levels ''Default value: 50''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Number of Match Points'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--numberOfMatchPoints&amp;lt;/span&amp;gt;] : the number of match points ''Default value: 10''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Registration Debugging Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Caching BSpline Weights Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useCachingOfBSplineWeightsMode&amp;lt;/span&amp;gt;] : This is a 5x speed advantage at the expense of requiring much more memory.  Only relevant when transformType is BSpline. ''Default value: ON''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Explicit PDF Derivatives Mode'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--useExplicitPDFDerivativesMode&amp;lt;/span&amp;gt;] : Using mode AUTO means OFF for BSplineDeformableTransforms and ON for the linear transforms.  The ON alternative uses more memory to sometimes do a better job. ''Default value: AUTO''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;''' ROIAuto Dilate Size'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--ROIAutoDilateSize&amp;lt;/span&amp;gt;] : This flag is only relavent when using ROIAUTO mode for initializing masks.  It defines the final dilation size to capture a bit of background outside the tissue region.  At setting of 10mm has been shown to help regularize a BSpline registration type so that there is some background constraints to match the edges of the head better. ''Default value: 0.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;''' ROIAuto Closing Size'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--ROIAutoClosingSize&amp;lt;/span&amp;gt;] : This flag is only relavent when using ROIAUTO mode for initializing masks.  It defines the hole closing size in mm.  It is rounded up to the nearest whole pixel size in each direction. The default is to use a closing size of 9mm.  For mouse data this value may need to be reset to 0.9 or smaller. ''Default value: 9.0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Relaxation Factor'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--relaxationFactor&amp;lt;/span&amp;gt;] : Internal debugging parameter, and should probably never be used from the command line.  This will be removed in the future. ''Default value: 0.5''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Maximum Step Length'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--maximumStepLength&amp;lt;/span&amp;gt;] : Internal debugging parameter, and should probably never be used from the command line.  This will be removed in the future. ''Default value: 0.2''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Failure Exit Code'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--failureExitCode&amp;lt;/span&amp;gt;] : If the fit fails, exit with this status code.  (It can be used to force a successfult exit status of (0) if the registration fails due to reaching the maximum number of iterations. ''Default value: -1''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Write Transform On Failure'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--writeTransformOnFailure&amp;lt;/span&amp;gt;] : Flag to save the final transform even if the numberOfIterations are reached without convergence. (Intended for use when --failureExitCode 0 ) ''Default value: 0''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''debugNumberOfThreads'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--debugNumberOfThreads&amp;lt;/span&amp;gt;] : Explicitly specify the maximum number of threads to use. ''Default value: -1''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Debug option'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--debugLevel&amp;lt;/span&amp;gt;] : Display debug messages, and produce debug intermediate results.  0=OFF, 1=Minimal, 10=Maximum debugging. ''Default value: 0''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;'''''Risky Expert-only Parameters'''''&amp;lt;/span&amp;gt;: &lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''DO NOT USE'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--NEVER_USE_THIS_FLAG_IT_IS_OUTDATED_00&amp;lt;/span&amp;gt;] : DO NOT USE THIS FLAG ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''DO NOT USE'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--NEVER_USE_THIS_FLAG_IT_IS_OUTDATED_01&amp;lt;/span&amp;gt;] : DO NOT USE THIS FLAG ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''DO NOT USE'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--NEVER_USE_THIS_FLAG_IT_IS_OUTDATED_02&amp;lt;/span&amp;gt;] : DO NOT USE THIS FLAG ''Default value: false''&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Selective Permission for Transform Parameters to Vary'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--permitParameterVariation&amp;lt;/span&amp;gt;] : A bit vector to permit linear transform parameters to vary under optimization.  The vector order corresponds with transform parameters, and beyond the end ones fill in as a default.  For instance, you can choose to rotate only in x (pitch) with 1,0,0;  this is mostly for expert use in turning on and off individual degrees of freedom in rotation, translation or scaling without multiplying the number of transform representations; this trick is probably meaningless when tried with the general affine transform.=&lt;br /&gt;
** &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;'''Cost Metric'''&amp;lt;/span&amp;gt; [&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;--costMetric&amp;lt;/span&amp;gt;] : The cost metric to be used during fitting. Defaults to MMI. Options are MMI (Mattes Mutual Information), MSE (Mean Square Error), NC (Normalized Correlation), MC (Match Cardinality for binary images) ''Default value: MMI''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
||[[Image:BRAINSFitUI_part1.png|thumb|280px|User Interface]] [[Image:BRAINSFitUI_part2.png|thumb|280px|User Interface]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
&lt;br /&gt;
===Notes from the Developer(s)===&lt;br /&gt;
&lt;br /&gt;
This is a thin wrapper program around the BRAINSFitHelper class in BRAINSCommonLib.  The BRAINSFitHelper class&lt;br /&gt;
is intended to allow all the functionality of BRAINSFit to be easily incorporated into another program by including a single header file, linking against the BRAINSCommonLib library, and adding code similar to the following to your application:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    typedef itk::BRAINSFitHelper HelperType;&lt;br /&gt;
    HelperType::Pointer myHelper=HelperType::New();&lt;br /&gt;
    myHelper-&amp;gt;SetTransformType(localTransformType);&lt;br /&gt;
    myHelper-&amp;gt;SetFixedVolume(extractFixedVolume);&lt;br /&gt;
    myHelper-&amp;gt;SetMovingVolume(extractMovingVolume);&lt;br /&gt;
    myHelper-&amp;gt;StartRegistration();&lt;br /&gt;
    currentGenericTransform=myHelper-&amp;gt;GetCurrentGenericTransform();&lt;br /&gt;
    MovingVolumeType::ConstPointer preprocessedMovingVolume = myHelper-&amp;gt;GetPreprocessedMovingVolume();&lt;br /&gt;
&lt;br /&gt;
/*  Optional member functions that can also be set */&lt;br /&gt;
    myHelper-&amp;gt;SetHistogramMatch(histogramMatch);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfMatchPoints(numberOfMatchPoints);&lt;br /&gt;
    myHelper-&amp;gt;SetFixedBinaryVolume(fixedMask);&lt;br /&gt;
    myHelper-&amp;gt;SetMovingBinaryVolume(movingMask);&lt;br /&gt;
    myHelper-&amp;gt;SetPermitParameterVariation(permitParameterVariation);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfSamples(numberOfSamples);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfHistogramBins(numberOfHistogramBins);&lt;br /&gt;
    myHelper-&amp;gt;SetNumberOfIterations(numberOfIterations);&lt;br /&gt;
    myHelper-&amp;gt;SetMaximumStepLength(maximumStepSize);&lt;br /&gt;
    myHelper-&amp;gt;SetMinimumStepLength(minimumStepSize);&lt;br /&gt;
    myHelper-&amp;gt;SetRelaxationFactor(relaxationFactor);&lt;br /&gt;
    myHelper-&amp;gt;SetTranslationScale(translationScale);&lt;br /&gt;
    myHelper-&amp;gt;SetReproportionScale(reproportionScale);&lt;br /&gt;
    myHelper-&amp;gt;SetSkewScale(skewScale);&lt;br /&gt;
    myHelper-&amp;gt;SetUseExplicitPDFDerivativesMode(useExplicitPDFDerivativesMode);&lt;br /&gt;
    myHelper-&amp;gt;SetUseCachingOfBSplineWeightsMode(useCachingOfBSplineWeightsMode);&lt;br /&gt;
    myHelper-&amp;gt;SetBackgroundFillValue(backgroundFillValue);&lt;br /&gt;
    myHelper-&amp;gt;SetInitializeTransformMode(localInitializeTransformMode);&lt;br /&gt;
    myHelper-&amp;gt;SetMaskInferiorCutOffFromCenter(maskInferiorCutOffFromCenter);&lt;br /&gt;
    myHelper-&amp;gt;SetCurrentGenericTransform(currentGenericTransform);&lt;br /&gt;
    myHelper-&amp;gt;SetSplineGridSize(splineGridSize);&lt;br /&gt;
    myHelper-&amp;gt;SetCostFunctionConvergenceFactor(costFunctionConvergenceFactor);&lt;br /&gt;
    myHelper-&amp;gt;SetProjectedGradientTolerance(projectedGradientTolerance);&lt;br /&gt;
    myHelper-&amp;gt;SetMaxBSplineDisplacement(maxBSplineDisplacement);&lt;br /&gt;
    myHelper-&amp;gt;SetDisplayDeformedImage(UseDebugImageViewer);&lt;br /&gt;
    myHelper-&amp;gt;SetPromptUserAfterDisplay(PromptAfterImageSend);&lt;br /&gt;
    myHelper-&amp;gt;SetDebugLevel(debugLevel);&lt;br /&gt;
    if(debugLevel &amp;gt; 7 )&lt;br /&gt;
      {&lt;br /&gt;
      myHelper-&amp;gt;PrintCommandLine(true,&amp;quot;BF&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
BRAINSFit depends on Slicer3 (for the SlicerExecutionModel support) and ITK.&lt;br /&gt;
BRAINSFit depends on the BRAINSCommonLib library&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
&lt;br /&gt;
Nightly testing of the development head can be found at: http://testing.psychiatry.uiowa.edu/CDash&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
Links to known bugs and feature requests are listed at:&lt;br /&gt;
* http://www.nitrc.org/projects/multimodereg/&lt;br /&gt;
&lt;br /&gt;
===Usability issues===&lt;br /&gt;
&lt;br /&gt;
Follow this [http://na-mic.org/Mantis/main_page.php link] to the Slicer3 bug tracker. Please select the '''usability issue category''' when browsing or contributing.&lt;br /&gt;
&lt;br /&gt;
===Source code &amp;amp; documentation===&lt;br /&gt;
&lt;br /&gt;
Links to the module's source code:&lt;br /&gt;
&lt;br /&gt;
Source code:&lt;br /&gt;
*[http://www.nitrc.org/projects/multimodereg/|Hosted by NITRC ]&lt;br /&gt;
&lt;br /&gt;
== More Information == &lt;br /&gt;
&lt;br /&gt;
===Acknowledgment===&lt;br /&gt;
&lt;br /&gt;
This research was supported by funding from grants NS050568 and NS40068 from the National Institute of Neurological Disorders and Stroke and grants MH31593, MH40856, from the National Institute of Mental Health.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://hdl.handle.net/1926/1291 BRAINSFit: Mutual Information Registrations of Whole-Brain 3D Images, Using the Insight Toolkit], Johnson H.J., Harris G., Williams K., The Insight Journal, 2007.&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:T1T2PreRegCheckerboard.png&amp;diff=18763</id>
		<title>File:T1T2PreRegCheckerboard.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:T1T2PreRegCheckerboard.png&amp;diff=18763"/>
		<updated>2010-12-29T22:25:11Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Checkerboard of T1 and T2 image before T2 image has been registered to the T1 (intensities in the T1 have been increased in order to make the image more visible)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Checkerboard of T1 and T2 image before T2 image has been registered to the T1 (intensities in the T1 have been increased in order to make the image more visible)&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=File:T1T2RegCheckerboard.png&amp;diff=18762</id>
		<title>File:T1T2RegCheckerboard.png</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=File:T1T2RegCheckerboard.png&amp;diff=18762"/>
		<updated>2010-12-29T22:25:02Z</updated>

		<summary type="html">&lt;p&gt;Mscully: Checkerboard of T1 and T2 image after T2 image has been registered to the T1 (intensities in the T1 have been increased in order to make the image more visible)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Checkerboard of T1 and T2 image after T2 image has been registered to the T1 (intensities in the T1 have been increased in order to make the image more visible)&lt;/div&gt;</summary>
		<author><name>Mscully</name></author>
		
	</entry>
</feed>