<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> typedef itk::BSplineResampleImageFilterBase<InputImageType, InputImageType> ResamplerType;<br> typename itk::BSplineDownsampleImageFilter< InputImageType,InputImageType, ResamplerType >::Pointer df <br> = itk::BSplineDownsampleImageFilter< InputImageType,InputImageType, ResamplerType >::New();<br> df->SetSplineOrder(3);<br> df->SetInput(input);<br> df->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> typedef itk::BSplineResampleImageFilterBase<InputImageType, InputImageType> ResamplerType;<br> typedef itk::BSplineCenteredResampleImageFilterBase<InputImageType, InputImageType> CenteredResamplerType;<br> typedef itk::BSplineL2ResampleImageFilterBase<InputImageType, InputImageType> L2ResamplerType;<br> typedef itk::BSplineCenteredL2ResampleImageFilterBase<InputImageType, InputImageType> 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>