[vtkusers] vtkImageGradient patch

Charles Law charles.law at kitware.com
Thu Jun 29 08:49:12 EDT 2000


I agree with you.  I have made the changes.

Charles.


At 05:58 PM 6/28/00 -0400, Alexandre Guimond wrote:
>Hi.  The doc for vtkImageGradient says: "OutputScalarType is always
>float.".  This is not the case.  In the present CVS version,
>the input and output need to the same type, ie if input is VTK_BIT,
>output is VTK_BIT.  Here is a patch to make the code reflect what the
>doc says.
>
>I choose to change the code instead of the doc.  I think it makes more
>sence to always have VTK_FLOAT for scalartype in gradient images.





More information about the vtkusers mailing list