<div dir="ltr">

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">hi
Ori, Hi Litiantian,</span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">Your
questions have overlap, that’s why I try to combine my answers.</span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">By adding
a fixed mask, the sampler draws the required number of samples from within the
valid region of the fixed image. However,
if a moving mask was added as well, any sample that maps to masked-out
positions in the moving image will be discarded from the sample container. The
sampler will not augment any new samples, so effectively the number of samples
can be smaller than the </span><span style="font-size:11pt;font-family:"Courier New";color:black" lang="EN-US">NumberOfSpatialSamples</span><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> that was set. If the number of samples drops below a
certain threshold an entirely new set of samples is drawn: </span><code><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">see <a href="http://elastix.isi.uu.nl/FAQ.php#Q_TooManySamples">http://elastix.isi.uu.nl/FAQ.php#Q_TooManySamples</a>
for more info.</span></code></p>

<p class="MsoNormal"><code><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></code></p>

<p class="MsoNormal"><code><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">Registration is generally driven by gradients (e.g. edges)
in the image. If a mask is too tight around the structure of interest, the
edges of the structure with respect to a background effectively disappear and registration
accuracy might decrease. For example, dilating the mask (i.e. the valid fixed region)
could include this important edge information.</span></code><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">@Ori,
I’m not sure what you mean by a scaled binary representation.</span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">@Ori:
All and only those control points of a B-spline transformation that have their local
support zone reaching to a valid sample image sample are updated by the
optimizer. </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">I
hope this answers the questions of both of you. </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">Best,</span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US">Floris</span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"><br></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"></span>

</span></p><p class="MsoNormal"><a name="_MailOriginal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b></a><span style><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:elastix-bounces@bigr.nl">elastix-bounces@bigr.nl</a>
[mailto:<a href="mailto:elastix-bounces@bigr.nl">elastix-bounces@bigr.nl</a>] <b>On Behalf Of </b>???? ???<br>
<b>Sent:</b> vrijdag 6 februari 2015 10:40<br>
<b>To:</b> <a href="mailto:elastix@bigr.nl">elastix@bigr.nl</a><br>
<b>Subject:</b> [Elastix] Using a mask for image registration</span></span></p>

<p class="MsoNormal"><span style> </span></p>

<p class="MsoNormal"><span style>Hi good Elastix
users,</span></p>

<p class="MsoNormal"><span style>I'm using a fixed
mask which is a slightly scaled binary representation of the fixed image non
zero values, to improve registration computation run-time.</span></p>

<p class="MsoNormal"><span style>I wonder what
effect the mask has of the registration as the results are slightly less
accurate.</span></p>

<p class="MsoNormal"><span style>Is it only sample
values within the mask (I'm using Grid sampling mehanism)?</span></p>

<p class="MsoNormal"><span style>Is it only choosing
control points within the mask (I'm using RandomCoordinate &&
NewSamplesEveryIteration==true && UseRandomSampleRegion==true)?</span></p>

<p class="MsoNormal"><span style>Any other effect on
the registration?</span></p>

<p class="MsoNormal"><span style> </span></p>

<p class="MsoNormal"><span style>Thanks,</span></p>

<p class="MsoNormal"><span style>Ori</span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"> </span></p>

<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:elastix-bounces@bigr.nl">elastix-bounces@bigr.nl</a>
[mailto:<a href="mailto:elastix-bounces@bigr.nl">elastix-bounces@bigr.nl</a>] <b>On Behalf Of </b>litiantian<br>
<b>Sent:</b> maandag 9 februari 2015 8:32<br>
<b>To:</b> <a href="mailto:elastix@bigr.nl">elastix@bigr.nl</a><br>
<b>Subject:</b> [MOGELIJK SPAM ! ******] [Elastix] binary image (segmentation
image) registration</span></p>

<p class="MsoNormal"><span style lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">Dear
Sir/Mandam,</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">i came across a
problem when i tried to register the binary image(segmentation result).</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">The
registration algorithm preformed well when no mask was used. However, when i
added mask on both fixed image and/or moved image the registration result
became worse.</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">' If a mask is
given, the sampler tries to find samples within the mask. ' ---> From the
mannual</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">i thought if i
added mask and kept the <b>NumberOfSpatialSamples</b> unchanged,
the registration result should be better. Am i right??</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">Here is
my Parameter file:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//ImageTypes</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FixedInternalImagePixelType
"float")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FixedImageDimension
3)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(MovingInternalImagePixelType
"float")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(MovingImageDimension
3)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//Components</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(Registration
"MultiResolutionRegistration")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FixedImagePyramid
"FixedSmoothingImagePyramid")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(MovingImagePyramid
"MovingSmoothingImagePyramid")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(Interpolator
"BSplineInterpolator")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(Metric
"AdvancedMattesMutualInformation")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(Optimizer
"StandardGradientDescent")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(ResampleInterpolator
"FinalBSplineInterpolator")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(Resampler
"DefaultResampler")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(Transform
"BSplineTransform")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Pyramid</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// Total number
of resolutions</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(NumberOfResolutions
2)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Transform</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Transform</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FinalGridSpacingInPhysicalUnits
4.0 4.0 4.0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(GridSpacingSchedule
1.0 1.0 1.0 1.0 1.0 1.0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(HowToCombineTransforms
"Compose")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Optimizer</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// Maximum
number of iterations in each resolution level:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(MaximumNumberOfIterations
1000)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//SP: Param_a
in each resolution level. a_k = a/(A+k+1)^alpha</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(SP_a 10000.0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//SP:
Param_alpha in each resolution level. a_k = a/(A+k+1)^alpha</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(SP_alpha
0.602)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//SP: Param_A
in each resolution level. a_k = a/(A+k+1)^alpha</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(SP_A 50.0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Metric</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//Number of
grey level bins in each resolution level:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(NumberOfHistogramBins
32)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FixedLimitRangeRatio
0.0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(MovingLimitRangeRatio
0.0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FixedKernelBSplineOrder
3)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(MovingKernelBSplineOrder
3)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Several</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(WriteTransformParametersEachIteration
"false")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(WriteTransformParametersEachResolution
"true")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(WriteResultImage
"true")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(ShowExactMetricValue
"false")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(ErodeFixedMask
"false")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black">(ErodeMovingMask "false")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black">(UseDifferentiableOverlap
"false")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
ImageSampler</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//Number of
spatial samples used to compute the mutual information in each resolution
level:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(ImageSampler
"Random")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(NumberOfSpatialSamples
10000)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(NewSamplesEveryIteration
"true")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">// **********
Interpolator and Resampler</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//Order of
B-Spline interpolation used in each resolution level:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(BSplineInterpolationOrder
3)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//Order of
B-Spline interpolation used for applying the final deformation:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(FinalBSplineInterpolationOrder
1)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">//Default pixel
value for pixels that come from outside the picture:</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(DefaultPixelValue
0)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(ResultImagePixelType
"float")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">(ResultImageFormat
"hdr")</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:SimSun" lang="EN-US"> </span></p></div>