[vtkusers] VTK algorithm to clamp vtkImageData and exclude Inf/NaN?
Elvis Stansvik
elvis.stansvik at orexplore.com
Fri Sep 2 08:00:48 EDT 2016
2016-09-02 10:26 GMT+02:00 Elvis Stansvik <elvis.stansvik at orexplore.com>:
> 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?
>
Nevermind, I found vtkImageThreshold which does what I want.
Elvis
>
> Thanks,
> Elvis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160902/4a38d3aa/attachment.html>
More information about the vtkusers
mailing list