<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-09-02 10:26 GMT+02:00 Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I need a VTK algorithm that takes a float vtkImageData as input and gives as output the input image with Inf/NaN values replaced by 0 and all other values clamped to a given range. Is there a built-in filter I can use, or should I write my own?<br></div></div></div></blockquote><div><br></div><div>Nevermind, I found vtkImageThreshold which does what I want.<br><br></div><div>Elvis<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>Thanks,<br></div>Elvis<br></div>
</blockquote></div><br></div></div>