<div dir="ltr">Hi folks,<br><br>itk::ResampleImageFilter requires size being set before Update() so far that I&#39;ve understood it.<br><br>That being said, I&#39;d wish to implement resize image filter (derivative for before mentioned) which samples the image based on scaling parameter relative to its input size e.g.<br>
<br>newWidth = scaling * oldWidth<br><br>which I figure out at GenerateData() and yet, I&#39;d wish to be able to put this filter in the pipeline not knowing the size of the input image, e.g.<br><br>Reader -&gt; Filter#1 -&gt; ResampleImageFilterEx -&gt; Filter#2 -&gt; Writer<br>
<br>How PropagateRequestedRegion() works and how its implemented in itk::ResampleImageFilter I&#39;m not sure if I can do this at all.<br><br>Please, any advice?<br><br>Best,<br>-Vaaksiainen<br><br><br><br><br></div>