<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yeah, this is a legacy issue that we need to address but I don't know how&nbsp;<div>easy it's going to be. &nbsp;It's due to the fact that the transform framework requires</div><div>double type which predates our work. &nbsp;Brian, Michael and I will have to&nbsp;</div><div>discuss this to see if we can fix it or at least minimize the places where double</div><div>is required. &nbsp;<br><div><div><div><div><br></div><div>Nick</div><div><br></div><div><br><div><div>On Jan 17, 2013, at 10:50 AM, Xiaoxiao Liu &lt;<a href="mailto:xiaoxiao.liu@kitware.com">xiaoxiao.liu@kitware.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Nick,&nbsp;<div>&nbsp; &nbsp;With the recent changes in the RegistrationMetricv4, seems that the PixeType of an image needs to be always set to double?&nbsp;</div><div>&nbsp; &nbsp;Old registration code &nbsp;that with float type fails to compile, but runs fine with double :&nbsp;<a href="https://github.com/InsightSoftwareConsortium/ITKv4-TheNextGeneration-Tutorial/commit/20df5ac66d43061b5d1ca3665dd1712a5986a879">https://github.com/InsightSoftwareConsortium/ITKv4-TheNextGeneration-Tutorial/commit/20df5ac66d43061b5d1ca3665dd1712a5986a879</a></div>
<div>&nbsp; &nbsp;The internal parameter measurements are using double, but is there a reason to require the image type to be double as well? Am I missing something?</div><div>&nbsp; &nbsp;Please give me some pointers. Thanks.<br clear="all">
<div><br></div>-- Xiaoxiao<br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><font face="arial, sans-serif">R &amp; D Engineer</font></div>
<div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924 &nbsp;or &nbsp;<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div>
</div>
</blockquote></div><br></div></div></div></div></div></body></html>