[vtk-developers] vtkImageReslice performance questions/improvemnts
Sean McBride
sean at rogue-research.com
Tue Sep 14 12:54:56 EDT 2010
On Tue, 14 Sep 2010 09:08:01 -0600, David Gobbi said:
>Casting to int does round-towards-zero, while floor() does
>round-towards-neg-infinity. The latter rounding mode is needed for
>vtkImageReslice.
BTW, no test seems to catch this. Before and after I changed the floor
to a simple cast, the same tests pass/fail. (Alas, many tests fail on
my config, hopefully none of these failures are masking a test that
would have caught this.)
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list