[vtkusers] existing filter to perform replace value on vtkImage

David Doria daviddoria+vtk at gmail.com
Tue Feb 16 15:35:09 EST 2010


On Tue, Feb 16, 2010 at 3:03 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> vtkArrayCalculator

I tried to make a demo of this, but it doesn't seem to work as I'm expecting.

http://www.vtk.org/Wiki/VTK/Examples/ArrayCalculator

I would expect the output to be
0
0
1
or something about like that (depending on the value of sign(0)).

Instead the output doesn't seem to be any different from the input
(still 1, 2, 3).

Dominik, would you mind taking a look and fixing this small example?

Thanks,

David



More information about the vtkusers mailing list