<div>Hi!</div>
<div> </div>
<div>I tested deformableRegistration7.cxx or deformableRegistration8.cxx in MRI's and they work correctly. Now I would like to re adapt def8 for working with binary images.</div>
<div> </div>
<div>I change the metric to MatcthCardinality and the interpolator to NearestNeighbor. </div>
<div> </div>
<div>In the case of the metric I add the method: metric->MeasureMatchesOff() because the optimizer minimizes the metric, and I remove the lines of MattesMutualInformation as the number of histograms and so on. It is ok??
</div>
<div> </div>
<div>So, I would like to know...:</div>
<div> </div>
<div>1. Advantatges and disvantatges of each one (def7 and def8).</div>
<div>2. I have a problem because the change of metric...:</div>
<div>The initial values are: GetValue()= 0.0709776 and GetInfinityNormOfProjectedGradient()=0</div>
<div>why is 0 the norm? it stops before doing an iteration for this...</div>
<div> </div>
<div>Any advice?</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div> </div>