<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am using the bspline downsample filter in the 3.16 version<br><br>&nbsp;&nbsp;&nbsp;&nbsp; typedef itk::BSplineResampleImageFilterBase&lt;InputImageType, InputImageType&gt; ResamplerType;<br>&nbsp;&nbsp;&nbsp;&nbsp; typename itk::BSplineDownsampleImageFilter&lt; InputImageType,InputImageType, ResamplerType &gt;::Pointer df <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = itk::BSplineDownsampleImageFilter&lt; InputImageType,InputImageType, ResamplerType &gt;::New();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; df-&gt;SetSplineOrder(3);<br>&nbsp;&nbsp;&nbsp; df-&gt;SetInput(input);<br>&nbsp;&nbsp;&nbsp; df-&gt;Update();<br><br>Unless I am using this filter incorrectly, it would seem that there is a problem with the filter. The output computed is wrong. The output image properties are set correctly (half the size, double the spacing,...) but the content of the original image is only portraited half in Y -dimension? This is not the case in the 3.8 version, the filter seems to have broken somewhere in between, probalby due to changes in the file <br>itkBSplineResampleImageFilterBase.txx.<br><br>The result is the same for all resampler types:<br><br>&nbsp;&nbsp;&nbsp; typedef itk::BSplineResampleImageFilterBase&lt;InputImageType, InputImageType&gt; ResamplerType;<br>&nbsp;&nbsp;&nbsp; typedef itk::BSplineCenteredResampleImageFilterBase&lt;InputImageType, InputImageType&gt; CenteredResamplerType;<br>&nbsp;&nbsp;&nbsp; typedef itk::BSplineL2ResampleImageFilterBase&lt;InputImageType, InputImageType&gt; L2ResamplerType;<br>&nbsp;&nbsp;&nbsp; typedef itk::BSplineCenteredL2ResampleImageFilterBase&lt;InputImageType, InputImageType&gt; CenteredL2ResamplerType;<br><br>The Upsampler doesn't show the same issues, it works fine in both 3.16 and 3.8 versions.<br><br>Regards,<br>Jef<br><br><br>
                                               <br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/201469228/direct/01/' target='_new'>Get it now.</a></body>
</html>