[Insight-users] GradientVectorFlowImageFilter bug + fix !
Mathieu Malaterre
malat@free.fr
Thu, 13 Feb 2003 12:42:07 +0100
Hi all, hi Ting,
On line 239 there is one line missing:
++internalIt;
++outputIt;
++intermediateIt; //missing line
Ting do you agree ?
//---------------------------------
Now I have a problem. If I try to display the output of
GradientVectorFlowImageFilter (see picture on
http://www.imaging.robarts.ca/~mmalat/vtk/test.png). My vectors are not
well oriented.
Does anyone know how to use vtkGlyph3D ?
Here is my way:
gs = vtkGlyphSource2D ()
gs.SetGlyphTypeToArrow()
glypher = vtkGlyph3D()
glypher.SetInput (reader.GetOutput())
glypher.SetSource (gs.GetOutput())
glypher.OrientOn()
glypher.SetVectorModeToUseVector()
Any help appreciate,
mathieu