Skip to content

Use double precision in vtkImageMagnitude/DotProduct

David Gobbi requested to merge dgobbi/vtk:image-magnitude-double into master

Otherwise precision is lost when working with double-precision images. In any case, even for non-double images, using double for the sum increases accuracy.

Also eliminate the cast-to-float when setting vtkImageEllipsoid parameters. Those parameters have been "double" since around VTK 4.

Merge request reports