<div dir="ltr">The vtkImageChangeInformation filter is probably the best choice, since it's a passthrough filter (it doesn't make a copy of its input).<div><br></div><div> - David</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 30, 2018 at 11:08 AM, normanius <span dir="ltr"><<a href="mailto:juch@zhaw.ch" target="_blank">juch@zhaw.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For some type-juggling, I would like to transform an <pre>vtkImageData</pre> object into a <pre>vtkAlgorithm</pre> object, very much like the <pre>vtkPassThroughFilter</pre> for <pre>vtkPolyData</pre> objects.
I found the <a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Developers/ImageAlgorithmFilter" rel="nofollow" link="external" target="_blank">ImageAlgorithmFilter example</a> that shows that something like this has existed. However, it seems not to be available in vtk 8.1.0.
Does anyone know more about this?
Many thanks for your help!
<br></blockquote></div><br></div></div></div>