<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Modules%3AResampleVolume-Documentation-3.6</id>
	<title>Modules:ResampleVolume-Documentation-3.6 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Modules%3AResampleVolume-Documentation-3.6"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Modules:ResampleVolume-Documentation-3.6&amp;action=history"/>
	<updated>2026-05-03T11:47:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Modules:ResampleVolume-Documentation-3.6&amp;diff=13921&amp;oldid=prev</id>
		<title>Lorensen: Created page with 'Return to Slicer 3.6 Documentation __NOTOC__ ===Module Name=== Resample Volume  == General Information == ===Module Type &amp; Category===  Type: CLI  Category:…'</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Modules:ResampleVolume-Documentation-3.6&amp;diff=13921&amp;oldid=prev"/>
		<updated>2010-04-20T20:05:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;&lt;a href=&quot;/wiki/Documentation-3.6&quot; class=&quot;mw-redirect&quot; title=&quot;Documentation-3.6&quot;&gt;Return to Slicer 3.6 Documentation&lt;/a&gt; __NOTOC__ ===Module Name=== Resample Volume  == General Information == ===Module Type &amp;amp; Category===  Type: CLI  Category:…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Documentation-3.6|Return to Slicer 3.6 Documentation]]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
===Module Name===&lt;br /&gt;
Resample Volume&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: Filtering&lt;br /&gt;
&lt;br /&gt;
===Authors, Collaborators &amp;amp; Contact===&lt;br /&gt;
* Author: Bill Lorensen&lt;br /&gt;
* Contact: bill.lorensen at gmail.com&lt;br /&gt;
&lt;br /&gt;
===Module Description===&lt;br /&gt;
Resampling an image is an important task in image analysis.&lt;br /&gt;
It is especially important in the frame of image registration.&lt;br /&gt;
This module implements image resampling through the use of itk&lt;br /&gt;
Transforms. This module uses an Identity Transform. The resampling is&lt;br /&gt;
controlled by the Output Spacing. 'Resampling' is performed in space&lt;br /&gt;
coordinates, not pixel/grid coordinates. It is quite important to ensure&lt;br /&gt;
that image spacing is properly set on the images involved. The&lt;br /&gt;
interpolator is required since the mapping from one space to the other&lt;br /&gt;
will often require evaluation of the intensity of the image at non-grid&lt;br /&gt;
positions. Several interpolators are available: linear, nearest neighbor&lt;br /&gt;
and five flavors of sinc. The sinc interpolators, although more precise,&lt;br /&gt;
are much slower than the linear and nearest neighbor interpolator. To&lt;br /&gt;
resample label volumnes, nearest neighbor interpolation should be used&lt;br /&gt;
exclusively.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ResampleVolume  [--processinformationaddress&lt;br /&gt;
                &amp;lt;std::string&amp;gt;] [--xml] [--echo] [-i&lt;br /&gt;
                &amp;lt;linear|nearestNeighbor|hamming&lt;br /&gt;
                |cosine|welch|lanczos|blackman&amp;gt;]&lt;br /&gt;
                [-s &amp;lt;std::vector&amp;lt;float&amp;gt;&amp;gt;] [--]&lt;br /&gt;
                [--version] [-h] &amp;lt;std::string&amp;gt;&lt;br /&gt;
                &amp;lt;std::string&amp;gt;&lt;br /&gt;
Where: &lt;br /&gt;
   --processinformationaddress &amp;lt;std::string&amp;gt;&lt;br /&gt;
     Address of a structure to store process information (progress, abort,&lt;br /&gt;
     etc.). (default: 0)&lt;br /&gt;
&lt;br /&gt;
   --xml&lt;br /&gt;
     Produce xml description of command line arguments (default: 0)&lt;br /&gt;
&lt;br /&gt;
   --echo&lt;br /&gt;
     Echo the command line arguments (default: 0)&lt;br /&gt;
&lt;br /&gt;
   -i &amp;lt;linear|nearestNeighbor|hamming|cosine|welch|lanczos|blackman&amp;gt;, &lt;br /&gt;
      --interpolation &amp;lt;linear|nearestNeighbor|hamming|cosine|welch|lanczos&lt;br /&gt;
      |blackman&amp;gt;&lt;br /&gt;
     Sampling algorithm (linear, nearest neighbor  or windowed sinc). There&lt;br /&gt;
     are several sinc algorithms available as described in the following&lt;br /&gt;
     publication: Erik H. W. Meijering, Wiro J. Niessen, Josien P. W. Pluim&lt;br /&gt;
     , Max A. Viergever: Quantitative Comparison of Sinc-Approximating&lt;br /&gt;
     Kernels for Medical Image Interpolation. MICCAI 1999, pp. 210-217.&lt;br /&gt;
     Each window has a radius of 3; (default: linear)&lt;br /&gt;
&lt;br /&gt;
   -s &amp;lt;std::vector&amp;lt;float&amp;gt;&amp;gt;,  --spacing &amp;lt;std::vector&amp;lt;float&amp;gt;&amp;gt;&lt;br /&gt;
     Spacing along each dimension (0 means use input spacing) (default: 0,0&lt;br /&gt;
     ,0)&lt;br /&gt;
&lt;br /&gt;
   --,  --ignore_rest&lt;br /&gt;
     Ignores the rest of the labeled arguments following this flag.&lt;br /&gt;
&lt;br /&gt;
   --version&lt;br /&gt;
     Displays version information and exits.&lt;br /&gt;
&lt;br /&gt;
   -h,  --help&lt;br /&gt;
     Displays usage information and exits.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;std::string&amp;gt;&lt;br /&gt;
     (required)  Input volume to be resampled&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;std::string&amp;gt;&lt;br /&gt;
     (required)  Resampled Volume&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
===Source code &amp;amp; documentation===&lt;br /&gt;
&lt;br /&gt;
Source Code: [http://www.na-mic.org/ViewVC/index.cgi/trunk/Applications/CLI/ResampleVolume.cxx?view=co ResampleVolume.cxx]&lt;br /&gt;
&lt;br /&gt;
XML Description: [http://www.na-mic.org/ViewVC/index.cgi/trunk/Applications/CLI/ResampleVolume.xml?view=co ResampleVolume.xml]&lt;br /&gt;
&lt;br /&gt;
Usage:&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&lt;br /&gt;
Computing (NAMIC), funded by the National Institutes of Health&lt;br /&gt;
through the NIH Roadmap for Medical Research, Grant U54 EB005149.&lt;br /&gt;
Information on the National Centers for Biomedical Computing&lt;br /&gt;
can be obtained from [http://www.ncbcs.org/ National Centers for Biomedical Computing].&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
Erik H. W. Meijering, Wiro J. Niessen, Josien P. W. Pluim, Max A. Viergever: ''Quantitative Comparison of Sinc-Approximating Kernels for Medical Image Interpolation''. MICCAI 1999, pp. 210-217.[http://www.imagescience.org/meijering/publications/download/miccai1999.pdf (pdf)]&lt;br /&gt;
[[Media:Example.ogg]]&lt;/div&gt;</summary>
		<author><name>Lorensen</name></author>
		
	</entry>
</feed>